From e49ac650a665ed864a9343dc5a97b5ae465cc744 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 3 Jul 2009 19:21:55 +0000 Subject: - Patch #310139 by pwolanin, c960657: drupal_query_string_encode() should not call drupal_urlencode(). --- modules/comment/comment.module | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/comment/comment.module') diff --git a/modules/comment/comment.module b/modules/comment/comment.module index fc1660467..775a2db25 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -2030,10 +2030,10 @@ function theme_comment_post_forbidden($node) { // We cannot use drupal_get_destination() because these links // sometimes appear on /node and taxonomy listing pages. if (variable_get('comment_form_location_' . $node->type, COMMENT_FORM_BELOW) == COMMENT_FORM_SEPARATE_PAGE) { - $destination = 'destination=' . drupal_urlencode("comment/reply/$node->nid#comment-form"); + $destination = 'destination=' . rawurlencode("comment/reply/$node->nid#comment-form"); } else { - $destination = 'destination=' . drupal_urlencode("node/$node->nid#comment-form"); + $destination = 'destination=' . rawurlencode("node/$node->nid#comment-form"); } if (variable_get('user_register', 1)) { -- cgit v1.2.3