Closed Bug 969521 Opened 6 years ago Closed 6 years ago

paypal.com sends desktop site to Firefox OS

Categories

(Web Compatibility :: Mobile, defect)

All
Gonk (Firefox OS)
defect
Not set

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: hsteen, Assigned: karlcow)

References

()

Details

(Whiteboard: [serversniff] [country-all] [sitewait][uaoverride])

Attachments

(1 file)

Attached image Screenshot
Compare the responses to the following HTTP requests:
The browser sniffing on PayPal's site mistakenly classifies Firefox OS phones as desktop devices even though they are smartphones. Compare the responses to the following HTTP requests:

------------------------------------------------------------------
GET /home HTTP/1.1
Host: www.paypal.com
User-Agent: Mozilla/5.0 (Android; Mobile; rv:18.0) Gecko/18.0 Firefox/18.0

HTTP/1.1 200 OK
Date: Fri, 07 Feb 2014 19:14:37 GMT
Content-Length: 30134

------------------------------------------------------------------

GET /home HTTP/1.1
Host: www.paypal.com
User-Agent: Mozilla/5.0 (Mobile; rv:18.0) Gecko/18.0 Firefox/18.0

HTTP/1.1 200 OK
Date: Fri, 07 Feb 2014 19:14:24 GMT
Content-Length: 50288

The browser sniffing sends a lighter (touch/smartphone) page when "Android" exists in the User-Agent string. Firefox OS gets a heavier (desktop) page even though its User-Agent string clearly says "Mobile".
This will work as expected if PayPal's backend browser sniffing is changed to recognise that any User-Agent string containing both "Firefox" and "Mobile" is a smartphone - type device.
Whiteboard: [serversniff] [country-all] [contactready] → [serversniff] [country-all] [contactready][uaoverride]
Assignee: nobody → kdubost
Whiteboard: [serversniff] [country-all] [contactready][uaoverride] → [serversniff] [country-all] [sitewait][uaoverride]
Hey the homepage looks better on a FxOS nexus 4.  Can you guys triple check and close this out if everything looks good?
Checked from Japan, the UK Web site on a ZTE Open device with UA override off and it's working. 
Congratulations and Thanks.
http://twitter.com/MozWebCompat/status/443137754801516544

We can remove safely the UA override.
Thanks everyone: Nick and cyberdee who have been involved in getting this fixed.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Blocks: 978663
No longer blocks: 978663
Product: Tech Evangelism → Web Compatibility
You need to log in before you can comment on or make changes to this bug.