diff options
author | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2006-10-31 16:42:52 +0000 |
---|---|---|
committer | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2006-10-31 16:42:52 +0000 |
commit | 12df72255cc05ef53fa546e1877275d2accac919 (patch) | |
tree | e5f7bf089cb88992a91b47510c0217bb01f2f9e8 /includes | |
parent | dd32f8ddff6c0f865ce9279051d458ba4b36f078 (diff) | |
download | brdo-12df72255cc05ef53fa546e1877275d2accac919.tar.gz brdo-12df72255cc05ef53fa546e1877275d2accac919.tar.bz2 |
#89059 by jvandervort, andeeeb, and Shakur. Decode destination path.
Diffstat (limited to 'includes')
-rw-r--r-- | includes/common.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/common.inc b/includes/common.inc index ea3ce8709..f3e5264fd 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -287,10 +287,10 @@ function drupal_get_destination() { */ function drupal_goto($path = '', $query = NULL, $fragment = NULL) { if (isset($_REQUEST['destination'])) { - extract(parse_url($_REQUEST['destination'])); + extract(parse_url(urldecode($_REQUEST['destination']))); } else if (isset($_REQUEST['edit']['destination'])) { - extract(parse_url($_REQUEST['edit']['destination'])); + extract(parse_url(urldecode($_REQUEST['edit']['destination']))); } $url = url($path, $query, $fragment, TRUE); |