tam.com.br doesn't recognize B2G UA as mobile

RESOLVED FIXED

Status

RESOLVED FIXED
6 years ago
5 years ago

People

(Reporter: lmandel, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [uaoverride] [country-br] [serversniff], URL)

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.
Blocks: 827487
Whiteboard: [uaoverride]

Comment 1

6 years ago
I've tested on a FXOS Geeksphone dev preview and it's working fine.
It's opening the m. version.

Comment 2

6 years ago
I've tested on a FXOS Geeksphone dev preview and it's working fine.
It's opening the m. version.
(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.
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

5 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
Last Resolved: 5 years ago
Resolution: --- → FIXED

Updated

5 years ago
Blocks: 891997

Updated

5 years ago
Whiteboard: [uaoverride] → [uaoverride] [country-br] [serversniff]
You need to log in before you can comment on or make changes to this bug.