summaryrefslogtreecommitdiff
path: root/modules/comment/comment.module
diff options
context:
space:
mode:
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)) {