Closed Bug 999980 Opened 8 years ago Closed 4 years ago

predpriemach.com sends desktop site to Firefox OS

Categories

(Web Compatibility :: Mobile, defect, P5)

All
Gonk (Firefox OS)
defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: hsteen, Unassigned)

References

()

Details

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

Attachments

(1 file)

This site intends to send smartphone users a different site (smart.dir.bg) but fails to detect Firefox OS devices as smartphones. 

If you compare with the iPhone version, there's a splash screen about an app but if you bypass it there's a mobile site.
The below HTTP traffic analysis shows how the backend browser sniffing works. It doesn't redirect, but it sends different content to different browsers.

Smallest response has Content-Length: 19986
Largest response has Content-Length: 115719


Selected HTTP response headers (Firefox OS, Firefox on Android, Safari on iPhone):

Response for: 'Mozilla/5.0 (Mobile; rv:30) Gecko/30 Firefox/30'
Response Status: 200
content-length: 115719
content-type: text/html; charset=windows-1251

Response for: 'Mozilla/5.0 (Android; Mobile; rv:26.0) Gecko/26.0 Firefox/26.0'
Response Status: 200
content-length: 19986
content-type: text/html; charset=windows-1251

Response for: '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'
Response Status: 200
content-length: 19986
content-type: text/html; charset=windows-1251
Whiteboard: [country-bg] → [country-bg] [serversniff] [contactready]
Priority: -- → P5
Closing as we are not working on Firefox OS anymore.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WONTFIX
Product: Tech Evangelism → Web Compatibility
You need to log in before you can comment on or make changes to this bug.