Closed Bug 843149 Opened 11 years ago Closed 11 years ago

arstechnica.com 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: karlcow, NeedInfo)

References

()

Details

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

arstechnica.com 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.
Whiteboard: [uaoverride]
There is a user agent detection without redirection to a mobile domain.

→ http -v GET http://arstechnica.com/  User-Agent:'Mozilla/5.0 (Mobile; rv:18.0) Gecko/18.0 Firefox/18.0' Accept:"text/html" | grep -i mobile

"VIEW":"grid","MOBILE":false
also
<meta name="viewport" content="width=1020" />



→ http -v GET http://arstechnica.com/ User-Agent:'Mozilla/5.0 (Linux; Android 4.0.4; Galaxy Nexus Build/IMM76B) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.133 Mobile Safari/535.19' Accept:"text/html" | grep -i mobile

"VIEW":"mobile","MOBILE":true
and
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
Contacted through their form at http://arstechnica.com/contact-us/
Assignee: nobody → kdubost
Flags: needinfo?(segphault)
Whiteboard: [uaoverride] → [uaoverride] [country-all] [sitewait]
The request has been recorded in their system. Ticket number: #5984
> Ars Support, Jul 26 10:39 (CDT):
> Hi Karl,
> 
> Appreciate you giving us the heads up. We should be able to get this UA in place on the mobile sniffer pretty quickly.
> 
> Thanks!
> J****
And this has just been fixed!
Congrats to ArsTechnica for their very quick fix! <3
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
That will be fixed once we remove our override.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
(In reply to Fabrice Desré [:fabrice] from comment #6)
> That will be fixed once we remove our override.

We usually file a separate bug for removal of the override. Karl has been batching these requests weekly.
Status: REOPENED → RESOLVED
Closed: 11 years ago11 years ago
Resolution: --- → FIXED
@fabrice

Could you please not modified the bug without requesting please. :)

ArsTechnica has fixed the issue on their server, which is what the issue is about. 
What you are talking about aka removing the UA override is Bug 899162 
https://github.com/mozilla-b2g/gaia/pull/11228
See Also: → 899162
Blocks: 899162
(In reply to Karl Dubost from comment #8)

> What you are talking about aka removing the UA override is Bug 899162 
> https://github.com/mozilla-b2g/gaia/pull/11228

Then you need to change your PR commit message to point to bug 899162, not to this one and Bug 826361.
fixing flags for the stats
Whiteboard: [uaoverride] [country-all] [sitewait] → [uaoverride] [country-all] [sitewait] [serversniff]
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.