Closed Bug 822793 Opened 7 years ago Closed 6 years ago

nzherald.co.nz should show the mobile version of the web page for b2g/gaia

Categories

(Web Compatibility :: Mobile, defect)

ARM
Gonk (Firefox OS)
defect
Not set

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: nhirata, Assigned: karlcow)

References

()

Details

(Whiteboard: [country-nz][serversniff][sitewait])

1. Navigate to nzherald.co.nz on b2g phone

Expected: m.nzherald.co.nz
Actual: www.nzherald.co.nz (desktop version)

spin off of : bug 822785
It also gets the desktop site on Android
Moving to Mobile component.
Assignee: english-other → nobody
Component: English Other → Mobile
Server side detection in place,

mtaylor at omg-2 in ~/tmp
$ http --print=hH GET http://www.nzherald.co.nz/ User-Agent:"$FFOS"
GET / HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate, compress
Host: www.nzherald.co.nz
User-Agent: Mozilla/5.0 (Mobile; rv:18.1) Gecko/18.1 Firefox/18.1

HTTP/1.1 200 OK
Accept-Ranges: bytes
Cache-Control: max-age=180
Cache-Info: Object-Age=87 hits=63 Cache-Host=hippo Backend-Host=apn121
Connection: keep-alive
Content-Encoding: gzip
Content-Length: 31616
Content-Type: text/html; charset=UTF-8
Date: Mon, 06 Jan 2014 20:26:51 GMT
Server: Apache
Vary: Accept-Encoding
X-UA-Compatible: IE=edge

mtaylor at omg-2 in ~/tmp
$ http --print=hH GET http://www.nzherald.co.nz/ User-Agent:"$FFA"
GET / HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate, compress
Host: www.nzherald.co.nz
User-Agent: Mozilla/5.0 (Android; Mobile; rv:25.0) Gecko/25.0 Firefox/25.0

HTTP/1.1 200 OK
Accept-Ranges: bytes
Cache-Control: max-age=180
Cache-Info: Object-Age=92 hits=69 Cache-Host=hippo Backend-Host=apn121
Connection: keep-alive
Content-Encoding: gzip
Content-Length: 31616
Content-Type: text/html; charset=UTF-8
Date: Mon, 06 Jan 2014 20:26:55 GMT
Server: Apache
Vary: Accept-Encoding
X-UA-Compatible: IE=edge

mtaylor at omg-2 in ~/tmp
$ http --print=hH GET http://www.nzherald.co.nz/ User-Agent:"$IOS"
GET / HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate, compress
Host: www.nzherald.co.nz
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

HTTP/1.1 302 /
Accept-Ranges: bytes
Cache-Info: Object-Age= hits=0 Cache-Host=hippo Backend-Host=apn121
Connection: close
Date: Mon, 06 Jan 2014 20:26:59 GMT
Location: http://m.nzherald.co.nz/
Server: Varnish

We should reach out to them and ask that they send Firefox for Android and Firefox OS browsers to the mobile site as well.
Whiteboard: [country-nz][serversniff][contactready]
Assignee: nobody → rick.eyre
Assignee: rick.eyre → nobody
This is still happening as of today.
Both Firefox for Android and Firefox OS receives the Desktop version while iOS receives the mobile version.

Maybe a contact with Ben Ataya
Head of Web Development at APN Online (NZ)
Let's try. Email sent.
Assignee: nobody → kdubost
Status: NEW → ASSIGNED
Whiteboard: [country-nz][serversniff][contactready] → [country-nz][serversniff][sitewait]
Got an answer, sent the patterns of our UA strings. 
They are looking at it.
Ben Ataya sent me a message to tell me it was fixed.
I just checked and indeed it is thanks to HeraldNZ and people at the journal!
Closing as FIXED.

http://twitter.com/MozWebCompat/status/463472056676265984
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Product: Tech Evangelism → Web Compatibility
You need to log in before you can comment on or make changes to this bug.