Closed Bug 633979 Opened 13 years ago Closed 13 years ago

Abusive redirection to german path of drumbeat.org

Categories

(Websites Graveyard :: drumbeat.org, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: karl, Assigned: paulosman)

References

()

Details

(Whiteboard: 03-07-2011)

User-Agent:       Opera/9.80 (Macintosh; Intel Mac OS X 10.6.6; U; fr) Presto/2.7.62 Version/11.01
Build Identifier: 


Without language, there is a redirection to en-US. Acceptable.

% curl -sI https://www.drumbeat.org/

HTTP/1.1 301 MOVED PERMANENTLY
Server: Apache/2.2.14 (Ubuntu)
Vary: Accept-Language,Accept-Encoding
Content-Type: text/html; charset=utf-8
Date: Mon, 14 Feb 2011 16:57:25 GMT
Location: https://www.drumbeat.org/en-us/
Transfer-Encoding: chunked
Content-Language: en-us
Connection: Keep-Alive
x-frame-options: DENY


When requesting French, then English, then Japanese, there is a redirection to german domain. Not correct.

% curl -sI -H "Accept-Language: fr,en;q=0.9,en-US;q=0.8,ja;q=0.7" https://www.drumbeat.org/

HTTP/1.1 301 MOVED PERMANENTLY
Server: Apache/2.2.14 (Ubuntu)
Vary: Accept-Language,Accept-Encoding
Content-Type: text/html; charset=utf-8
Date: Mon, 14 Feb 2011 17:00:35 GMT
Location: https://www.drumbeat.org/de/
Transfer-Encoding: chunked
Content-Language: en-us
Connection: Keep-Alive
x-frame-options: DENY


Reproducible: Always

Steps to Reproduce:
1. Set your browser with a different language than en-US (fr for example)
2. Go to http://www.drumbeat.org/
3.
Actual Results:  
Redirected to http://www.drumbeat.org/de/

Expected Results:  
Stay on  http://www.drumbeat.org/ or be redirected to http://www.drumbeat.org/en-US/ if the language is not available.
Assignee: nobody → paul
Status: UNCONFIRMED → NEW
Ever confirmed: true
Status: NEW → ASSIGNED
Whiteboard: 03-28-2011
Whiteboard: 03-28-2011 → 02-28-2011
Whiteboard: 02-28-2011 → 03-07-2011
A fix has been pushed for this:

https://github.com/paulosman/batucada/commit/bd63c56f2c2acd99094e23e3894cb4812002ad49

Will deploy with next release on March 7th.
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Product: Websites → Websites Graveyard
You need to log in before you can comment on or make changes to this bug.