Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When Global Redirect applies URL deslashing:
if (str_replace($prefix . $alias, '', $request_path) != '/' || $settings['deslash']) {
globalredirect_goto($alias, $options);
}
The redirect parameter in the query string is lost.
Similar issue #1477200: The destination parameter gets blown away
Attached patch to restore destination parameter before redirecting.
Comment | File | Size | Author |
---|---|---|---|
d7-redirect-lost-deslash.patch | 728 bytes | david_garcia | |
Comments
Comment #1
david_garcia CreditAttribution: david_garcia commentedThe patch in #1477200: The destination parameter gets blown away solves this issue, and is a better and more generic approach.
Comment #2
david_garcia CreditAttribution: david_garcia commented