Closed Bug 931989 Opened 7 years ago Closed 7 years ago

weather.gr doesn't redirect to mobile site on Firefox OS

Categories

(Web Compatibility :: Mobile, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: alefteris, Unassigned)

References

()

Details

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

Site: http://www.weather.gr
weather.gr doesn't redirect to mobile site on Firefox OS

:: Steps To Reproduce

1. Open Firefox OS browser
2. Type weather.gr in Firefox OS browser address bar

:: Expected Result

Get redirected to http://www.weather.gr/gr/gr/m/. When typing the web site address on Firefox for Android or iOS Safari we get redirected to the mobile site.

:: Actual Result

We receive the desktop site of http://www.weather.gr

:: Additional Information

Software Version: Mozilla/5.0 (Mobile; rv:26.0) Gecko/26.0 Firefox/26.0
Device Information: Keon
Whiteboard: [country-gr]
Simple serverside detection. They just need to recognize the B2G UA as a mobile device:

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

HTTP/1.1 302 Found
Content-Length: 124
Date: Tue, 29 Oct 2013 22:36:22 GMT
Location: /gr/gr/
Server: Microsoft-IIS/7.5
X-Powered-By: ASP.NET

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

HTTP/1.1 302 Found
Content-Length: 124
Date: Tue, 29 Oct 2013 22:36:25 GMT
Location: /gr/gr/
Server: Microsoft-IIS/7.5
X-Powered-By: ASP.NET
Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: [country-gr] → [country-gr][serversniff][contactready]
I send a message using the contact form at http://www.weather.gr/gr/gr/contact.aspx
Whiteboard: [country-gr][serversniff][contactready] → [country-gr][serversniff][sitewait]
They fixed it, right? Congrats! :-)
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Confirmed. Nice work Thanos.
Status: RESOLVED → VERIFIED
Product: Tech Evangelism → Web Compatibility
You need to log in before you can comment on or make changes to this bug.