Closed (fixed)
Project:
Customerror
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Mar 2009 at 18:27 UTC
Updated:
5 Apr 2014 at 08:48 UTC
Jump to comment: Most recent
I'm running into an issue where redirects aren't successful if the URL for the original destination page contains spaces (either raw spaces or encoded as a %20 entity). The problem appears to be that Drupal rewrites the destination URL before CustomError gets it, and any %20 entities are converted to raw spaces. Since CustomError uses the space character as a delimiter, I can't embed spaces in the URL mapping list and so the mapping never matches.
I've created a patch to take the original destination URL and replace spaces with %20 before checking for a match.
| Comment | File | Size | Author |
|---|---|---|---|
| customerror.module.patch | 531 bytes | elally |
Comments
Comment #1
kbahey commentedThank you. Committed.
It should be in the -dev version tonight.