Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Have not investigated why, not sure that I know where to start.
I have https working correctly.
When Secure Pages is enabled links in the include list get the language prefix repeated 3 times.
eg: https://www.subject.domain.co.uk/es/es/es/user
Anyone else seeing this?
Comment | File | Size | Author |
---|---|---|---|
#4 | lang_fix.patch | 1.99 KB | moridin380 |
Comments
Comment #1
Yannick WEBER CreditAttribution: Yannick WEBER commentedHi,
I've the same problem with language prefix and securepages.
I hope someone find a solution because I can't upgrade to drupal 7 before it's done.
Comment #2
moridin380 CreditAttribution: moridin380 commentedI'm also experiencing this issue.
I'm running mixed mode ssl for all of the admin/user pages.
Editing a page other than english(default), such as es, and attempting to use the contextual links redirects to ssl and adds the language prefix 3 times. e.g. https://dev.mysite.net/es/es/es/node/2/edit
If I switch back to english and edit the content the usual way (https://dev.mysite.net/admin/content), click edit, then the editing functionality works fine.
I've only been able to reproduce the issue when trying to edit content which is not of the default language.
I haven't tried to reproduce the bug with es as the default language and en as an added language.
Comment #3
Yannick WEBER CreditAttribution: Yannick WEBER commentedHi moridin380,
I've reproduced the bug with both FR and EN has default language and the problem is the same. The fact is that the 7.x-dev series is still bugged.
Comment #4
moridin380 CreditAttribution: moridin380 commentedI've worked up a quick fix which seems to be working ATM for what I need.
I may run into issues later and make some further adjustments at least until a permanent resolution has been implemented.
Attached is a patch file denoting the changes I made. I haven't done any extensive testing to test security at this time, and being new to drupal may not meet some of drupal's coding standard's.
But at least it's something to play with.
Comment #5
Yannick WEBER CreditAttribution: Yannick WEBER commentedHi moridin380,
I'll test it so soon as possible within my testing installation.
I'll keep you informed.
Thank's
Yannick
Comment #6
Matthias Lersch CreditAttribution: Matthias Lersch commentedI've the same problem with language prefix and securepages.
Comment #7
grendzy CreditAttribution: grendzy commentedDuplicate of #1145292: Problem with i18n/improper redirect. Please make sure you're using the latest -dev release.
Comment #8
rvb CreditAttribution: rvb commentedI use version 7.x-1.0-beta1 and the same issue is happening again. Once the module is enable it adds the language twice in my url mywebsite/en/en/foo