Closed
Bug 989673
Opened 12 years ago
Closed 11 years ago
onpe.gob.pe sends desktop site to Firefox OS
Categories
(Web Compatibility :: Site Reports, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: cesar, Unassigned, Mentored)
References
()
Details
(Whiteboard: [country-pe][serversniff][contactready])
No description provided.
Updated•11 years ago
|
Comment 1•11 years ago
|
||
Hi! Do we know if there is a mobile site for http://www.onpe.gob.pe/inicio.php? Testing on my iPhone, I get the desktop site as well.
Comment 2•11 years ago
|
||
Actually, yes: Chrome Mobile gets redirect to http://m.onpe.gob.pe/
Comment 3•11 years ago
|
||
They're doing detection between mobile and desktop browsers somewhere on the server.
mtaylor at omg-2 in ~/dev/compat/webcompat.com on master
$ http --print=Hh http://www.onpe.gob.pe User-Agent:"$FFOS"
User-Agent: Mozilla/5.0 (Mobile; rv:18.1) Gecko/18.1 Firefox/18.1
HTTP/1.1 302 Found
Location: inicio.php
mtaylor at omg-2 in ~/dev/compat/webcompat.com on master
$ http --print=Hh http://www.onpe.gob.pe User-Agent:"$CHR"
GET / HTTP/1.1
User-Agent: Mozilla/5.0 (Linux; Android 4.0.4; Galaxy Nexus Build/IMM76B) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.133 Mobile Safari/535.19
HTTP/1.1 302 Found
Location: http://m.onpe.gob.pe
We should recommend to them that they send Firefox OS devices to the mobile site, just like they do for Firefox for Android.
Whiteboard: [country-pe] → [country-pe][serversniff][contactready]
Comment 4•11 years ago
|
||
| description | ||
The site tries to send mobile browsers to a separate mobile site, but fails to detect Firefox OS devices as smartphones. For details on how the browser detection works, see this analysis of the HTTP traffic:
Firefox OS is redirected to inicio.php, Firefox for Android and Safari on iPhone are redirected to http://m.onpe.gob.pe
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: 302
content-length: 20
location: inicio.php
content-type: text/html
Response for: 'Mozilla/5.0 (Android; Mobile; rv:26.0) Gecko/26.0 Firefox/26.0'
Response Status: 302
content-length: 20
location: http://m.onpe.gob.pe
content-type: text/html
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: 302
content-length: 20
location: http://m.onpe.gob.pe
content-type: text/html
Whiteboard: [country-pe][serversniff][contactready] → [country-pe][serversniff][contactready][mentor=hsteen]
Comment 5•11 years ago
|
||
Hopefully finding a single contact will help with all these government subdomain sites.
Updated•11 years ago
|
Mentor: hsteen
Whiteboard: [country-pe][serversniff][contactready][mentor=hsteen] → [country-pe][serversniff][contactready]
Comment 6•11 years ago
|
||
This is fixed (through a responsive Web site).
Tested on iOS, Firefox Android, Firefox OS
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
| Assignee | ||
Updated•7 years ago
|
Product: Tech Evangelism → Web Compatibility
| Assignee | ||
Updated•2 years ago
|
Component: Mobile → Site Reports
You need to log in
before you can comment on or make changes to this bug.
Description
•