When we have a "destination" in the query parameters (cf drupal_get_destination()), the admin paths are not renamed. So it causes 404 errors.

When renaming the paths, the module should check if there is a destination, and if so, rename the destination too.

Comments

Fonski created an issue. See original summary.

fonski’s picture

Status: Active » Needs review
StatusFileSize
new1.21 KB
b-prod’s picture

Version: 7.x-2.1 » 7.x-2.x-dev
StatusFileSize
new1.37 KB

This patch is almost the same as the one in comment #1, but it also take car of the presence of %2F in the query string, as it is the URI-converted forward slash.

  • Raphael Apard committed 398a069 on 7.x-2.x authored by B-Prod
    Issue #2804667 by Fonski, B-Prod: Rename not working with query...
raphael apard’s picture

Make sense. Thanks

raphael apard’s picture

Status: Needs review » Fixed
raphael apard’s picture

Status: Fixed » Closed (fixed)
fonski’s picture

Fix an error for user path (it was checking for "admin" instead of "user").

raphael apard’s picture

Thanks ! It's committed