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.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | lt_language_prefix.patch | 2.03 KB | hunmonk |
| lt_language_prefix.patch | 1.18 KB | drewish |
Comments
Comment #1
hunmonk commentedcan 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.
Comment #2
drewish commentedyeah, that works great for me.
Comment #3
hunmonk commentedcommitted to HEAD, this will appear in the next 6.x release.
thanks!
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.