Trust root depends on current language when using the Locale module
Bug #353459 reported by
Pierre Buyle
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Drupal OpenID module |
New
|
Low
|
Unassigned | ||
Drupal/Launchpad login module |
New
|
Undecided
|
Unassigned |
Bug Description
When using the Locale module to select interface (and content) language through the URL (with the "Path prefix with language fallback." language negotiation), the trust root (as reported on the admin page and Launchpad) includes the language prefix.
On our site, when I log from http://
description: | updated |
affects: | ubuntu-drupal-releases → drupal-openid |
Changed in drupal-openid: | |
importance: | Undecided → Low |
tags: | added: taskbucket |
To post a comment you must log in.
I was able to fix this in an ugly way by using a PHP variable, rather than a Drupal function to get the absolute url
You can just do a search for url() and make an substitute appropriately.
'http:// ' . $_SERVER[ 'HTTP_HOST' ]
I don't want to submit a patch because it's not working for me. That doesn't mean that replacing url() with the php variable will not work though. My OpenID has never worked. I can't figure out why,and it doesn't display any errors, but that was even before I did this to fix the dependency on language.
So, no promises it will work.