Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-21769 fixed input validation

  • Loading branch information...
commit 3d2d9e65276e03182173c6fdda52027894cd6e6f 1 parent f742997
@skodak skodak authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 blog/edit.php
View
4 blog/edit.php
@@ -108,8 +108,8 @@
error('Incorrect blog post id');
}
$post->id = $existing->id;
- $post->subject = $existing->subject;
- $post->summary = $existing->summary;
+ $post->subject = clean_text($existing->subject);
+ $post->summary = clean_text($existing->summary, $existing->format);
$post->publishstate = $existing->publishstate;
$post->format = $existing->format;
$post->action = $action;
Please sign in to comment.
Something went wrong with that request. Please try again.