Closed Bug 826343 Opened 11 years ago Closed 11 years ago

ig.com.br 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, Unassigned)

References

()

Details

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

ig.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.
We get different sites for mobile and desktop. Android is triggering a different content (Check Content-length header).


→ http HEAD http://www.ig.com.br/ User-Agent:'Mozilla/5.0 (Mobile; rv:18.0) Gecko/18.0 Firefox/18.0' 

HTTP/1.1 200 OK
Accept-Ranges: bytes
Cache-Control: max-age=60
Connection: keep-alive
Content-Encoding: gzip
Content-Type: text/html; charset=UTF-8
Content-length: 37900
Date: Wed, 17 Jul 2013 13:42:05 GMT
Expires: Wed, 17 Jul 2013 13:42:49 GMT
Last-Modified: Wed, 17 Jul 2013 13:36:24 GMT
Vary: Accept-Encoding
X-Age: 15
X-Cache: HIT
X-XRDS-Location: https://login.ig.com.br/discovery



→ http HEAD http://www.ig.com.br/ User-Agent:'Mozilla/5.0 (Android; Mobile; rv:18.0) Gecko/18.0 Firefox/18.0' 

HTTP/1.1 200 OK
Accept-Ranges: bytes
Accept-Ranges: bytes
Access-Control-Allow-Origin: *
Cache-Control: max-age=60, public
Connection: keep-alive
Content-Encoding: gzip
Content-Type: text/html; charset=UTF-8
Content-length: 9327
Date: Wed, 17 Jul 2013 13:42:18 GMT
Expires: Wed, 17 Jul 2013 13:42:24 GMT
Vary: Host,Accept-Encoding
X-Age: 54
X-Cache: MISS


→ http HEAD http://www.ig.com.br/ 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' 

HTTP/1.1 200 OK
Accept-Ranges: bytes
Accept-Ranges: bytes
Access-Control-Allow-Origin: *
Cache-Control: max-age=60, public
Connection: keep-alive
Content-Encoding: gzip
Content-Type: text/html; charset=UTF-8
Content-length: 9327
Date: Wed, 17 Jul 2013 13:43:21 GMT
Expires: Wed, 17 Jul 2013 13:43:31 GMT
Vary: Host,Accept-Encoding
X-Age: 50
X-Cache: MISS


Detection based on user agent string serving different content on the same domain name.

→ http GET http://www.ig.com.br/ 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' | grep -i mobile

    <meta name="iG-Device" content="Mobile" />
    <link type="text/css" rel="stylesheet" href="http://i0.statig.com.br/mobile/high/css/ig-mobile-min.css?v=0.8" />
      <nav id="menu-mobile">
        <ul>          <li class="logo">            <h1>              <a href="http://www.ig.com.br">                <img src="http://i0.statig.com.br/mobile/high/images/sprite-home-ig.png" />
        <div class="pd-view mobile132" id="5528F3AD-E193-498B-AB8C-A15BBDE3DB0F">          <h2>            <a href="http://tecnologia.ig.com.br/2013-07-17/o-facebook-mente-para-voce.html">"O Facebook mente de forma escancarada"</a>
      <!--  <div class="mais-no-cel clear"><h2>Mais no celular</h2><nav><ul><li><a href="http://m.ig.com.br/universalizationLayer/m/t/igaplicativos"><figure><img alt="Aplicativos iG" src="http://i0.statig.com.br/mobile/high/images/sprite-ig.png" class="iconeCelular" /></figure><span>Aplicativos iG</span></a></li><li><a href="http://m.ig.com.br/universalizationLayer/m/t/igsms"><figure><img alt="Aplicativos iG" src="http://i0.statig.com.br/mobile/high/images/sprite-ig.png" class="iconeEmail" /></figure><span>Notícias SMS</span></a></li></ul><div class="clear"></div></nav></div> -->
    <script type="text/javascript" src="http://js.statig.com.br/mobile/high/home-scripts-min.js?v=0.5"></script>
        <iframe src="http://adserver.ig.com.br/RealMedia/ads/adstream_sx.ads/mobile/home/@Top!Top" width="320" height="50" frameborder="0" marginheight="0" marginwidth="0" scrolling="no"></iframe>
        <iframe src="http://adserver.ig.com.br/RealMedia/ads/adstream_sx.ads/mobile/home/@Middle!Middle" width="320" height="50" frameborder="0" marginheight="0" marginwidth="0" scrolling="no"></iframe>
        <iframe src="http://adserver.ig.com.br/RealMedia/ads/adstream_sx.ads/mobile/home/@Bottom!Bottom" width="320" height="50" frameborder="0" marginheight="0" marginwidth="0" scrolling="no"></iframe>



→ http GET http://www.ig.com.br/ User-Agent:'Mozilla/5.0 (Android; Mobile; rv:18.0) Gecko/18.0 Firefox/18.0' | grep -i mobile

    <meta name="iG-Device" content="Mobile" />
    <link type="text/css" rel="stylesheet" href="http://i0.statig.com.br/mobile/high/css/ig-mobile-min.css?v=0.8" />
      <nav id="menu-mobile">
        <ul>          <li class="logo">            <h1>              <a href="http://www.ig.com.br">                <img src="http://i0.statig.com.br/mobile/high/images/sprite-home-ig.png" />
        <div class="pd-view mobile132" id="5528F3AD-E193-498B-AB8C-A15BBDE3DB0F">          <h2>            <a href="http://tecnologia.ig.com.br/2013-07-17/o-facebook-mente-para-voce.html">"O Facebook mente de forma escancarada"</a>
      <!--  <div class="mais-no-cel clear"><h2>Mais no celular</h2><nav><ul><li><a href="http://m.ig.com.br/universalizationLayer/m/t/igaplicativos"><figure><img alt="Aplicativos iG" src="http://i0.statig.com.br/mobile/high/images/sprite-ig.png" class="iconeCelular" /></figure><span>Aplicativos iG</span></a></li><li><a href="http://m.ig.com.br/universalizationLayer/m/t/igsms"><figure><img alt="Aplicativos iG" src="http://i0.statig.com.br/mobile/high/images/sprite-ig.png" class="iconeEmail" /></figure><span>Notícias SMS</span></a></li></ul><div class="clear"></div></nav></div> -->
    <script type="text/javascript" src="http://js.statig.com.br/mobile/high/home-scripts-min.js?v=0.5"></script>
        <iframe src="http://adserver.ig.com.br/RealMedia/ads/adstream_sx.ads/mobile/home/@Top!Top" width="320" height="50" frameborder="0" marginheight="0" marginwidth="0" scrolling="no"></iframe>
        <iframe src="http://adserver.ig.com.br/RealMedia/ads/adstream_sx.ads/mobile/home/@Middle!Middle" width="320" height="50" frameborder="0" marginheight="0" marginwidth="0" scrolling="no"></iframe>
        <iframe src="http://adserver.ig.com.br/RealMedia/ads/adstream_sx.ads/mobile/home/@Bottom!Bottom" width="320" height="50" frameborder="0" marginheight="0" marginwidth="0" scrolling="no"></iframe>


→ http GET http://www.ig.com.br/ User-Agent:'Mozilla/5.0 (Mobile; rv:18.0) Gecko/18.0 Firefox/18.0' | grep -i mobile

[NOTHING]
Whiteboard: [uaoverride] → [uaoverride] [country-br]
Whiteboard: [uaoverride] [country-br] → [uaoverride] [country-br] [serversniff]
Whiteboard: [uaoverride] [country-br] [serversniff] → [uaoverride] [country-br] [serversniff][contactready]
Whiteboard: [uaoverride] [country-br] [serversniff][contactready] → [uaoverride] [country-br] [serversniff][contactready] [sitewait]
Have emailed a friend, Daniel Filho, who used to work at iG asking for a good contact.
I'm reaching my former colleagues. Will help to find the right people to solve this. 

Thank you for contacting me, Mike :)
Hi, I work at iG and we're working on this. Thanks for reporting :)
Thanks Daniel(s)!
Whiteboard: [uaoverride] [country-br] [serversniff][contactready] [sitewait] → [uaoverride] [country-br] [serversniff][sitewait]
Getting the mobile site now, thanks guys! https://cloudup.com/cTea84pxeDq
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Confirmed. Removing UA override in Bug 932040
Blocks: 932040
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.