Closed
Bug 827626
Opened 12 years ago
Closed 9 years ago
magazineluiza.com.br doesn't recognize B2G UA as mobile
Categories
(Web Compatibility :: Site Reports, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: lmandel, Assigned: karlcow)
References
()
Details
(Whiteboard: [uaoverride] [country-br][serversniff][sitewait])
Attachments
(1 file)
magazineluiza.com.br serves a desktop site to B2G. Bug 819210 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.
Reporter | ||
Updated•12 years ago
|
Blocks: magazineluiza.com.br
Whiteboard: [uaoverride]
I've tested on a FXOS Geeksphone dev preview and it's working fine. It's opening the m. version.
Comment 2•11 years ago
|
||
(In reply to mkt45 from comment #1) > I've tested on a FXOS Geeksphone dev preview and it's working fine. > It's opening the m. version. Not working for me. I'm getting a desktop site.
Reporter | ||
Comment 3•11 years ago
|
||
Ditto. Desktop content on B2G after removing the UA override.
Assignee | ||
Updated•11 years ago
|
Whiteboard: [uaoverride] → [uaoverride] [country-br]
Comment 4•11 years ago
|
||
contact email |
Contacted by E-mail (atendimento.site @ magazineluiza.com.br)
Assignee: nobody → hsteen
Status: NEW → ASSIGNED
Whiteboard: [uaoverride] [country-br] → [uaoverride] [country-br][serversniff][sitewait]
Updated•11 years ago
|
Assignee: hsteen → nobody
Status: ASSIGNED → NEW
Assignee | ||
Updated•11 years ago
|
Assignee | ||
Comment 5•10 years ago
|
||
Ah maybe a better contact for the site http://www.linkedin.com/in/moreiradaniel
Assignee: nobody → kdubost
Status: NEW → ASSIGNED
Assignee | ||
Comment 6•10 years ago
|
||
description |
When a user is accessing http://www.magazineluiza.com.br/ with Firefox OS, s/he receives the desktop content. When a user is accessing http://www.magazineluiza.com.br/ with Firefox Android (or Safari iOS), s/he is redirected to the mobile site http://m.magazineluiza.com.br/ The issue is created by server side user agent detection not taking into account Firefox OS user agent string.
Assignee | ||
Comment 7•10 years ago
|
||
mdown suggestedfix |
Suggestion for fixing the issue. Sending the same version of the site to Firefox OS than Firefox Android. The [UA string for Firefox OS][1] has the patterns "Mozilla/5.0 (Mobile; rv:$VERSION) Gecko/$VERSION Firefox/$VERSION" "Mozilla/5.0 (Mobile; nnnn; rv:$VERSION) Gecko/$VERSION Firefox/$VERSION" * where `$VERSION` is a number. * where `nnnn` is a string. but we usually recommend to identify the substring `/mobi/` as much as possible so it will also help other browser vendors on mobile. [1]: https://developer.mozilla.org/en-US/docs/Gecko_user_agent_string_reference#Firefox_OS
Assignee | ||
Comment 8•10 years ago
|
||
Problem still not solved. To note Firefox Android receives the good version which is working. The footer has a link to http://m.magazineluiza.com.br/ Testing again HTTP. # iOS → http --print hH GET http://www.magazineluiza.com.br/ 'User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/6.0 Mobile/11A465 Safari/9537.53' GET / HTTP/1.1 Accept: */* Accept-Encoding: gzip, deflate Host: www.magazineluiza.com.br User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/6.0 Mobile/11A465 Safari/9537.53 HTTP/1.1 301 Unknown Error Accept-Ranges: bytes Age: 0 Connection: keep-alive Date: Tue, 16 Sep 2014 00:05:29 GMT Location: http://m.magazineluiza.com.br X-Debug-Hash: /www.magazineluiza.com.brhttp transfer-encoding: chunked # Chrome Android → http --print hH GET http://www.magazineluiza.com.br/ 'User-Agent: Mozilla/5.0 (Linux; Android 4.2.2; GT-P3113 Build/JDQ39) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.141 Safari/537.36' GET / HTTP/1.1 Accept: */* Accept-Encoding: gzip, deflate Host: www.magazineluiza.com.br User-Agent: Mozilla/5.0 (Linux; Android 4.2.2; GT-P3113 Build/JDQ39) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.141 Safari/537.36 HTTP/1.1 301 Unknown Error Accept-Ranges: bytes Age: 0 Connection: keep-alive Date: Tue, 16 Sep 2014 00:04:31 GMT Location: http://m.magazineluiza.com.br X-Debug-Hash: /www.magazineluiza.com.brhttp transfer-encoding: chunked # Firefox OS → http --print hH GET http://www.magazineluiza.com.br/ "User-Agent: Mozilla/5.0 (Mobile; rv:32) Gecko/32 Firefox/32" GET / HTTP/1.1 Accept: */* Accept-Encoding: gzip, deflate Host: www.magazineluiza.com.br User-Agent: Mozilla/5.0 (Mobile; rv:32) Gecko/32 Firefox/32 HTTP/1.1 200 OK Accept-Ranges: bytes Age: 365 Cache-Control: public, max-age=600, s-maxage=450 Connection: keep-alive Content-Encoding: gzip Content-Length: 45752 Content-Type: text/html; charset=UTF-8 Date: Tue, 16 Sep 2014 00:06:01 GMT Vary: Accept-Encoding X-Debug-Hash: /www.magazineluiza.com.brhttp # Firefox Android → http --print hH GET http://www.magazineluiza.com.br/ "User-Agent: Mozilla/5.0 (Android; Mobile; rv:32) Gecko/32 Firefox/32" GET / HTTP/1.1 Accept: */* Accept-Encoding: gzip, deflate Host: www.magazineluiza.com.br User-Agent: Mozilla/5.0 (Android; Mobile; rv:32) Gecko/32 Firefox/32 HTTP/1.1 301 Unknown Error Accept-Ranges: bytes Age: 0 Connection: keep-alive Content-Length: 0 Date: Tue, 16 Sep 2014 00:06:43 GMT Location: http://m.magazineluiza.com.br X-Debug-Hash: /www.magazineluiza.com.brhttp
Assignee | ||
Comment 9•10 years ago
|
||
contact twitter |
Contacted again today. http://twitter.com/MozWebCompat/status/511668926212628480
Comment 10•9 years ago
|
||
Assignee | ||
Comment 11•9 years ago
|
||
contact email |
sent email to their email address in the footer.
Assignee | ||
Comment 12•9 years ago
|
||
Received this message in Brazilian portuguese with the title "Magazine Luiza - Protocolo 18653358 " Olá, Karl. Pedimos gentilmente que nos esclareça o erro que aparece em nosso site, para que possamos encaminhar para analise. Estamos à sua disposição em caso de dúvidas. Equipe de Atendimento Central do Cliente Luiza
Comment 13•9 years ago
|
||
(in case you haven't translated that, they're asking for clarification on the error with their site)
Assignee | ||
Comment 14•9 years ago
|
||
https://m.magazineluiza.com.br/ And this is fixed \o/
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Updated•5 years ago
|
Product: Tech Evangelism → Web Compatibility
Updated•2 months ago
|
Component: Mobile → Site Reports
You need to log in
before you can comment on or make changes to this bug.
Description
•