Closed
Bug 827623
Opened 13 years ago
Closed 12 years ago
tam.com.br doesn't recognize B2G UA as mobile
Categories
(Web Compatibility :: Site Reports, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: lmandel, Unassigned)
References
()
Details
(Whiteboard: [uaoverride] [country-br] [serversniff])
tam.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•13 years ago
|
Blocks: tam.com.br
Whiteboard: [uaoverride]
I've tested on a FXOS Geeksphone dev preview and it's working fine.
It's opening the m. version.
I've tested on a FXOS Geeksphone dev preview and it's working fine.
It's opening the m. version.
Comment 3•12 years ago
|
||
(In reply to mkt45 from comment #2)
> 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 4•12 years ago
|
||
For any bug that has [uaoverride] in the whiteboard we have told B2G to send a different user agent (typically the Firefox for Android UA) to the site. In these cases, testing should be performed after removing the UA override from the phone.
Comment 5•12 years ago
|
||
So I have tested on the CLI and on actual device ZTE.
I have removed the domain.
→ mozua.sh list tam
2081 KB/s (14511 bytes in 0.006s)
Listing domain matching tam
(#notetoself I should make the message more explicit when there is no match)
On the CLI, we get redirected to the mobile site.
→ http GET http://www.tam.com.br/ User-Agent:'Mozilla/5.0 (Mobile; rv:18.0) Gecko/18.0 Firefox/18.0'
HTTP/1.1 301 Moved Permanently
Connection: keep-alive
Content-Length: 227
Content-Type: text/html; charset=iso-8859-1
Date: Tue, 09 Jul 2013 19:04:49 GMT
Location: http://m.tam.com.br
Server: Apache
Set-Cookie: WCB2CINTERPRD=R1364498778; path=/
Set-Cookie: B2CVGN=v-locale=en_US&v-pais=OC; expires=Wed, 09-Jul-2014 19:04:49 GMT; path=/b2c; domain=tam.com.br
Set-Cookie: B2CVGN_AKA=v-locale=en_US&v-pais=OC; expires=Wed, 09-Jul-2014 19:04:49 GMT; path=/b2c; domain=tam.com.br
Vary: Accept-Encoding
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>301 Moved Permanently</title>
</head><body>
<h1>Moved Permanently</h1>
<p>The document has moved <a href="http://m.tam.com.br">here</a>.</p>
</body></html>
On the DEVICE it is working too. Mobile site.
We can close this one.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Whiteboard: [uaoverride] → [uaoverride] [country-br] [serversniff]
| 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
•