When enabling i18n, all paths in path_redirect module get the language code automatically prepended, the result being this:
From: en/taxonomy/term/10
To: en/http://www.somewhere.com/
Obviously that breaks things pretty badly.
When enabling i18n, all paths in path_redirect module get the language code automatically prepended, the result being this:
From: en/taxonomy/term/10
To: en/http://www.somewhere.com/
Obviously that breaks things pretty badly.
Comments
Comment #1
moonray commentedThe issue seems to be in the
i18n_url_rewrite()function. It automatically prepends the language, no matter whether it is a full url (http://site.com/page.html) or a relative one (node/23).Original code (line: 708)
Fixed code (line: 708)
Comment #2
moonray commentedThis problem also occurs on the "track" tab (statistics core module).
Comment #3
jose reyero commentedI haven't run into this issue, possibly because I'm not using that path_redirect module.
Anyway, the patch looks good, committed. Thank you.
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.