Closed
Bug 972374
Opened 10 years ago
Closed 10 years ago
ikea.com sends desktop site to Firefox OS
Categories
(Web Compatibility :: Site Reports, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: hsteen, Assigned: adamopenweb, Mentored)
References
()
Details
(Whiteboard: [country-all] [serversniff] [sitewait] )
Attachments
(1 file)
208.38 KB,
image/png
|
Details |
This site uses backend browser detection, which fails to recognise Firefox OS devices as smartphones. See selected HTTP headers below: Firefox on Android is detected and forwarded correctly: GET / HTTP/1.1 Host: www.ikea.com User-Agent: Mozilla/5.0 (Android; Mobile; rv:30.0) Gecko/30.0 Firefox/30.0 HTTP/1.1 302 Moved Temporarily Content-Length: 0 Location: http://m.ikea.com/ ------------------------------------------------------------------ Firefox OS is not, despite clearly having the word "Mobile" in the User-Agent header: GET / HTTP/1.1 Host: www.ikea.com User-Agent: Mozilla/5.0 (Mobile; rv:30.0) Gecko/30.0 Firefox/30.0 HTTP/1.1 200 OK Content-Length: 26815 Content-Type: text/html; charset=utf-8 Set-Cookie: device=desktop; path=/; domain=.ikea.com ------------------------------------------------------------------
Assignee | ||
Updated•10 years ago
|
Whiteboard: [country-no][serversniff][contactready] → [country-no][serversniff][contactready][mentor=astevenson]
Reporter | ||
Comment 1•10 years ago
|
||
IKEA's sniffing is depending on version numbers in the UA string. A version number for Firefox/18.1 *does* get sent to m.ikea.com . .
Assignee | ||
Comment 2•10 years ago
|
||
Each version number behaves different when testing headers: Version 26: mobile Version 27: desktop Version 28: mobile Version 29: desktop Version 30: mobile Version 31: mobile
Assignee | ||
Comment 3•10 years ago
|
||
Reaching out to Magnus von Wachenfelt: Web Developer and Project Leader at IKEA. https://twitter.com/MozWebCompat/status/459402745058181121
Assignee: nobody → astevenson
Status: NEW → ASSIGNED
Whiteboard: [country-no][serversniff][contactready][mentor=astevenson] → [country-no][serversniff][sitewait][mentor=astevenson]
Reporter | ||
Comment 4•10 years ago
|
||
It's fixed indeed. Our testing tool was reporting failures for the Firefox OS 1.4 UA string, but the test was buggy: it used a string with the version number "30" when it should be "30.0". That confused WURFL..
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
Whiteboard: [country-no][serversniff][sitewait][mentor=astevenson] → [country-all] [serversniff] [sitewait] [mentor=astevenson]
Updated•10 years ago
|
Mentor: astevenson
Whiteboard: [country-all] [serversniff] [sitewait] [mentor=astevenson] → [country-all] [serversniff] [sitewait]
Updated•5 years ago
|
Product: Tech Evangelism → Web Compatibility
Updated•1 month ago
|
Component: Mobile → Site Reports
You need to log in
before you can comment on or make changes to this bug.
Description
•