Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
a4bbb1b9
Commit
a4bbb1b9
authored
Aug 21, 2006
by
drumm
Browse files
#50025
by doq. Use aliased urls for the destination parameter.
parent
e48ec099
Changes
1
Hide whitespace changes
Inline
Side-by-side
includes/common.inc
View file @
a4bbb1b9
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment