The redirection code added in #221652: preserve query string logintoboggan_destination() doesn't work when the locale.module is enabled and using language path prefixes. The $internal_path ends up set to "en/node/1156". The attached patch steals some of the code from language_initialize() that cleans out the language code from $_GET['q'].

I only tested this with clean URLs.

Comments

hunmonk’s picture

StatusFileSize
new2.03 KB

can you test this iteration for me? i'm pretty sure the way you did it won't work w/o clean URLs, and i think this one will.

drewish’s picture

Status: Needs review » Reviewed & tested by the community

yeah, that works great for me.

hunmonk’s picture

Status: Reviewed & tested by the community » Fixed

committed to HEAD, this will appear in the next 6.x release.

thanks!

Anonymous’s picture

Status: Fixed » Closed (fixed)

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