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.tokens.inc | |
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.tokens.inc')
-rw-r--r-- | modules/comment/comment.tokens.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/comment/comment.tokens.inc b/modules/comment/comment.tokens.inc index 3f233733d..2375cfb6f 100644 --- a/modules/comment/comment.tokens.inc +++ b/modules/comment/comment.tokens.inc @@ -148,7 +148,7 @@ function comment_tokens($type, $tokens, array $data = array(), array $options = break; case 'homepage': - $replacements[$original] = $sanitize ? filter_xss_bad_protocol($comment->homepage) : $comment->homepage; + $replacements[$original] = $sanitize ? check_url($comment->homepage) : $comment->homepage; break; case 'title': |