Closed (fixed)
Project:
Path redirect
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 May 2009 at 05:00 UTC
Updated:
11 Dec 2009 at 00:00 UTC
In 5.x-1.2 there was the following line in path_redirect_init:
drupal_goto($r->redirect, ($r->query ? $r->query: NULL), ($r->fragment ? $r->fragment : NULL), $r->type);
In 5.x-1.x-dev, the equivalent line in path_redirect_check:
drupal_goto($r->redirect, $r->query, $r->fragment, $r->type);
Not doing the NULL check means that url() appends the # and ? characters to the end of every request which has no query or fragment.
| Comment | File | Size | Author |
|---|---|---|---|
| path_redirect.patch | 484 bytes | mr.j |
Comments
Comment #1
mr.j commentedForgot, the patch is against the current 5.x-1.x-dev released 2009-Jan-27.
Tested and working for me.
Comment #2
dave reidThanks for reporting this with a patch mr.j! I'll get this fixed up tomorrow morning.
Comment #3
dave reidShould be fixed with latest code.