diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-07-07 17:00:43 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-07-07 17:00:43 +0000 |
commit | 9e6313e84f7397889950bef0b870bf91749acca4 (patch) | |
tree | 30d129ef7dd1fb3b9badbb914cc362eee3dbf398 /modules/comment/comment.test | |
parent | 5a904b80c1437b0946d5348ff2d5e313763a2ab5 (diff) | |
download | brdo-9e6313e84f7397889950bef0b870bf91749acca4.tar.gz brdo-9e6313e84f7397889950bef0b870bf91749acca4.tar.bz2 |
#715142 by effulgentsia, msmithgu, mr.baileys, Damien Tournoud, sun: Fixed Various URLs escaped twice, since check_url() resp. filter_xss_bad_protocol() calls check_plain().
Diffstat (limited to 'modules/comment/comment.test')
-rw-r--r-- | modules/comment/comment.test | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/comment/comment.test b/modules/comment/comment.test index ae680cecd..cf5376fec 100644 --- a/modules/comment/comment.test +++ b/modules/comment/comment.test @@ -1190,7 +1190,7 @@ class CommentTokenReplaceTestCase extends CommentHelperCase { $tests['[comment:hostname]'] = check_plain($comment->hostname); $tests['[comment:name]'] = filter_xss($comment->name); $tests['[comment:mail]'] = check_plain($this->admin_user->mail); - $tests['[comment:homepage]'] = filter_xss_bad_protocol($comment->homepage); + $tests['[comment:homepage]'] = check_url($comment->homepage); $tests['[comment:title]'] = filter_xss($comment->subject); $tests['[comment:body]'] = _text_sanitize($instance, LANGUAGE_NONE, $comment->comment_body[LANGUAGE_NONE][0], 'value'); $tests['[comment:url]'] = url('comment/' . $comment->cid, $url_options + array('fragment' => 'comment-' . $comment->cid)); |