summaryrefslogtreecommitdiff
path: root/modules/comment/comment.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-07-03 19:21:55 +0000
committerDries Buytaert <dries@buytaert.net>2009-07-03 19:21:55 +0000
commite49ac650a665ed864a9343dc5a97b5ae465cc744 (patch)
tree9cbe07fafd4d9250808509c8ba099f4b566000bc /modules/comment/comment.module
parentc90e16721a0660dc2dedbd31a9df428e03b7ff13 (diff)
downloadbrdo-e49ac650a665ed864a9343dc5a97b5ae465cc744.tar.gz
brdo-e49ac650a665ed864a9343dc5a97b5ae465cc744.tar.bz2
- Patch #310139 by pwolanin, c960657: drupal_query_string_encode() should not call drupal_urlencode().
Diffstat (limited to 'modules/comment/comment.module')
-rw-r--r--modules/comment/comment.module4
1 files changed, 2 insertions, 2 deletions
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)) {