Closed Bug 828380 Opened 11 years ago Closed 10 years ago

deser.pl doesn't recognize B2G UA as mobile

Categories

(Web Compatibility :: Site Reports, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: lmandel, Assigned: adamopenweb)

References

()

Details

(Whiteboard: [uaoverride] [country-pl] [serversniff] [sitewait])

deser.pl serves a desktop site to B2G. Bug 823364 added an UA override for this domain. The override should be removed once the domain serves mobile content to B2G. This bug tracks the evangelism for the site to recognize the B2G UA and the removal of the override at that time.
Blocks: deser.pl
Whiteboard: [uaoverride]
Whiteboard: [uaoverride] → [uaoverride] [country-pl]
Server side detection with redirection to a mobile domain.
To be contacted.

# Firefox OS

GET / HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate, compress
Host: deser.pl
User-Agent: Mozilla/5.0 (Mobile; rv:18.0) Gecko/18.0 Firefox/18.0

HTTP/1.1 301 Moved Permanently
Content-Length: 238
Content-Type: text/html; charset=iso-8859-1
Date: Fri, 09 Aug 2013 20:09:48 GMT
Location: http://deser.pl/deser/0,0.html
Server: Apache

GET /deser/0,0.html HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate, compress
Host: deser.pl
User-Agent: Mozilla/5.0 (Mobile; rv:18.0) Gecko/18.0 Firefox/18.0

HTTP/1.1 200 OK
Content-Encoding: gzip
Content-Type: text/html; charset=iso-8859-2
Date: Fri, 09 Aug 2013 20:10:24 GMT
P3P: CP="NOI DSP COR NID PSAo OUR IND"
Server: Apache
Set-Cookie: test=66A130A24A10k1376079024976; domain=.deser.pl; expires=Sun, 09-Aug-2015 20:10:24 GMT; path=/
Set-Cookie: SERWISYN_SID=VdWQSFMQlkRHTV2Bch2mPP1xbdQ2knsFQLy9yS7HJfnsrNLQQ20Q!859662965; path=/; HttpOnly
Transfer-Encoding: chunked
Vary: Accept-Encoding,User-Agent
X-Powered-By: Servlet/2.5 JSP/2.1
X-Server-Name: (null)_serwisy


# Firefox for Android

GET / HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate, compress
Host: deser.pl
User-Agent: Mozilla/5.0 (Android; Mobile; rv:18.0) Gecko/18.0 Firefox/18.0

HTTP/1.1 301 Moved Permanently
Content-Length: 238
Content-Type: text/html; charset=iso-8859-1
Date: Fri, 09 Aug 2013 20:08:21 GMT
Location: http://deser.pl/deser/0,0.html
Server: Apache


GET /deser/0,0.html HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate, compress
Host: deser.pl
User-Agent: Mozilla/5.0 (Android; Mobile; rv:18.0) Gecko/18.0 Firefox/18.0

HTTP/1.1 301 Moved Permanently
Content-Length: 240
Content-Type: text/html; charset=iso-8859-1
Date: Fri, 09 Aug 2013 20:08:38 GMT
Location: http://m.deser.pl/deser/0,0.html
Server: Apache

GET /deser/0,0.html HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate, compress
Host: m.deser.pl
User-Agent: Mozilla/5.0 (Android; Mobile; rv:18.0) Gecko/18.0 Firefox/18.0

HTTP/1.1 200 OK
Connection: close
Content-Encoding: gzip
Content-Type: text/html; charset=UTF-8
Date: Fri, 09 Aug 2013 20:09:17 GMT
P3P: CP="NOI DSP COR NID DEV PSA OUR IND UNI"
Server: Apache
Set-Cookie: MINI_SID=mJbsSFMN2c2hLLlM1KL2R3mQw7sxhYzK5n2rKX84WT21WJ0vzk3r!-3896123; path=/; HttpOnly
Set-Cookie: test=66A130A24A10k1376078957550; domain=.deser.pl; expires=Sun, 09-Aug-2015 20:09:17 GMT; path=/
Transfer-Encoding: chunked
Vary: User-Agent,Accept-Encoding
X-Powered-By: Servlet/2.5 JSP/2.1
X-Server-Name: (null)
Assignee: nobody → kdubost
Whiteboard: [uaoverride] [country-pl] → [uaoverride] [country-pl] [serversniff]
Assignee: kdubost → nobody
Whiteboard: [uaoverride] [country-pl] [serversniff] → [uaoverride] [country-pl] [serversniff] [contactready]
Site is run by Agora http://www.agora.pl. I've reached out on anther bug, making this bug dependent.
Assignee: nobody → astevenson
Status: NEW → ASSIGNED
Depends on: 828354
Whiteboard: [uaoverride] [country-pl] [serversniff] [contactready] → [uaoverride] [country-pl] [serversniff] [sitewait]
This is fixed as well.

http -h GET http://deser.pl/deser/0,0.html User-Agent:'Mozilla/5.0 (Mobile; rv:26.0) Gecko/26.0 Firefox/26.0'
HTTP/1.1 301 Moved Permanently
Content-Length: 240
Content-Type: text/html; charset=iso-8859-1
Date: Wed, 23 Apr 2014 15:03:29 GMT
Location: http://m.deser.pl/deser/0,0.html
Server: Apache
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Blocks: 995831
Product: Tech Evangelism → Web Compatibility
Component: Mobile → Site Reports
You need to log in before you can comment on or make changes to this bug.