Skip to content

Commit

Permalink
Issue #14 : XSS fix
Browse files Browse the repository at this point in the history
  • Loading branch information
evacchi committed Mar 6, 2014
1 parent 1096648 commit 924668f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fp-interface/sharedtpls/comment-form.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
<label class="textlabel" for="url">{$lang.comments.www}</label>
</p>

{* do action *}
{comment_form}

</div>
Expand All @@ -42,7 +43,7 @@

<div class="comment-content">
<p><textarea name="content" {$error.content|notempty:'class="field-error"'}
id="content" rows="10" cols="74">{$values.content}</textarea></p>
id="content" rows="10" cols="74">{$values.content|wp_specialchars:1}</textarea></p>
{*here will go a plugin hook*}
</div>

Expand Down

0 comments on commit 924668f

Please sign in to comment.