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?

CommentFileSizeAuthor
#4 lang_fix.patch1.99 KBmoridin380
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Yannick WEBER’s picture

Hi,

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.

moridin380’s picture

I'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.

Yannick WEBER’s picture

Hi 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.

moridin380’s picture

FileSize
1.99 KB

I'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.

Yannick WEBER’s picture

Hi moridin380,

I'll test it so soon as possible within my testing installation.

I'll keep you informed.

Thank's

Yannick

Matthias Lersch’s picture

I've the same problem with language prefix and securepages.

grendzy’s picture

Status: Active » Closed (duplicate)

Duplicate of #1145292: Problem with i18n/improper redirect. Please make sure you're using the latest -dev release.

rvb’s picture

Issue summary: View changes

I 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