diff options
author | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2006-08-21 07:16:21 +0000 |
---|---|---|
committer | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2006-08-21 07:16:21 +0000 |
commit | a4bbb1b909512c72ecf2b119c093193ed01c4b10 (patch) | |
tree | 99105bcdcbcb03fb9fc53357a21305ec028723ec | |
parent | e48ec0999390a7b6ab2f958fdbaca91ab2fb7fba (diff) | |
download | brdo-a4bbb1b909512c72ecf2b119c093193ed01c4b10.tar.gz brdo-a4bbb1b909512c72ecf2b119c093193ed01c4b10.tar.bz2 |
#50025 by doq. Use aliased urls for the destination parameter.
-rw-r--r-- | includes/common.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/common.inc b/includes/common.inc index 957680056..865877df4 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -208,7 +208,7 @@ function drupal_get_destination() { } else { // Use $_REQUEST here to retrieve the original path. - $path = isset($_REQUEST['q']) ? $_REQUEST['q'] : ''; + $path = isset($_REQUEST['q']) ? drupal_get_path_alias($_REQUEST['q']) : ''; $query = drupal_query_string_encode($_GET, array('q')); if ($query != '') { $path .= '?'. $query; |