Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
12df7225
Commit
12df7225
authored
Oct 31, 2006
by
Neil Drumm
Browse files
#89059
by jvandervort, andeeeb, and Shakur. Decode destination path.
parent
dd32f8dd
Changes
1
Hide whitespace changes
Inline
Side-by-side
includes/common.inc
View file @
12df7225
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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