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.

CommentFileSizeAuthor
path_redirect.patch484 bytesmr.j

Comments

mr.j’s picture

Status: Active » Reviewed & tested by the community

Forgot, the patch is against the current 5.x-1.x-dev released 2009-Jan-27.

Tested and working for me.

dave reid’s picture

Thanks for reporting this with a patch mr.j! I'll get this fixed up tomorrow morning.

dave reid’s picture

Status: Reviewed & tested by the community » Fixed

Should be fixed with latest code.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.