Closed Bug 1061031 Opened 10 years ago Closed 8 years ago

pickupforum.de sends desktop content instead of mobile content to Firefox Android

Categories

(Web Compatibility :: Site Reports, defect)

ARM
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: karlcow, Unassigned)

References

()

Details

(Whiteboard: [country-de] [serversniff] [contactready] )

+++ This bug was initially created as a clone of Bug #815657 +++

Steps to reproduce:
1. With Android device
2. Go to pickupforum.de with Firefox Android


Actual results:
Get the Desktop version

Expected results:
Receive the mobile version like for iOS devices.
This site intends to send mobile browsers a mobile version, and uses server-side browser detection to do so. Unfortunately it does not detect all smartphones correctly. Below are headers from one request from a Firefox OS smartphone and one from an iPhone - compare the Content-Length to see how different the responses are:


GET http://www.pickupforum.de/ HTTP/1.1
User-Agent: Mozilla/5.0 (Android; Mobile; rv:26.0) Gecko/26.0 Firefox/26.0
Host: www.pickupforum.de


HTTP/1.1 200 OK
Date: Tue, 09 Sep 2014 12:37:58 GMT
Server: Apache
X-Powered-By: PHP/5.3.2-1ubuntu4.26
Set-Cookie: session_id=2c3a3c8f4b2554d146c2423cbde2cc74; path=/; httponly
Cache-Control: no-cache, must-revalidate, max-age=0
Expires: Mon, 08 Sep 2014 12:37:59 GMT
Pragma: no-cache
Vary: Accept-Encoding
Content-Type: text/html;charset=ISO-8859-1
Content-Length: 241755



------------------------------------------------------------------
GET http://www.pickupforum.de/ HTTP/1.1
User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A5376e Safari/8536.25
Host: www.pickupforum.de


HTTP/1.1 200 OK
Date: Tue, 09 Sep 2014 12:38:24 GMT
Server: Apache
X-Powered-By: PHP/5.3.2-1ubuntu4.26
Set-Cookie: session_id=cbe65fe3c0cc4937bed5b3b29d298236; path=/; httponly
Cache-Control: no-cache, must-revalidate, max-age=0
Expires: Mon, 08 Sep 2014 12:38:24 GMT
Pragma: no-cache
Vary: Accept-Encoding
Content-Type: text/html;charset=ISO-8859-1
Content-Length: 40246



------------------------------------------------------------------
Whiteboard: [country-de] [serversniff] [contactready]
This is working for me.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
Product: Tech Evangelism → Web Compatibility
Component: Mobile → Site Reports
You need to log in before you can comment on or make changes to this bug.