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.

CommentFileSizeAuthor
d7-redirect-lost-deslash.patch728 bytesdavid_garcia
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

david_garcia’s picture

Status: Needs review » Closed (duplicate)

The patch in #1477200: The destination parameter gets blown away solves this issue, and is a better and more generic approach.

david_garcia’s picture

Title: Redirect is lost on deslashing » Destination is lost on deslashing