summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-05-18 06:59:46 +0000
committerDries Buytaert <dries@buytaert.net>2010-05-18 06:59:46 +0000
commit7d2d610f13f0a5abd09b2f7d678fb553d1934d40 (patch)
treef3ebadf2938a333b8fd9546e6637c7818c58fac3 /includes
parentf8c58bf23d9c97182cfb7262ec0ab7ec66507cb8 (diff)
downloadbrdo-7d2d610f13f0a5abd09b2f7d678fb553d1934d40.tar.gz
brdo-7d2d610f13f0a5abd09b2f7d678fb553d1934d40.tar.bz2
- Patch #796120 by c960657: do not urldecode() parameters in drupal_goto().
Diffstat (limited to 'includes')
-rw-r--r--includes/common.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/common.inc b/includes/common.inc
index 57bff0233..452013589 100644
--- a/includes/common.inc
+++ b/includes/common.inc
@@ -660,7 +660,7 @@ function drupal_encode_path($path) {
function drupal_goto($path = '', array $options = array(), $http_response_code = 302) {
// A destination in $_GET always overrides the function arguments.
if (isset($_GET['destination'])) {
- $destination = drupal_parse_url(urldecode($_GET['destination']));
+ $destination = drupal_parse_url($_GET['destination']);
$path = $destination['path'];
$options['query'] = $destination['query'];
$options['fragment'] = $destination['fragment'];