Closed Bug 843165 Opened 11 years ago Closed 10 years ago

virginatlantic.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)

References

()

Details

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

virginatlantic.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]
On entering http://virginatlantic.com/

on Desktop Firefox,                      http://www.virgin-atlantic.com/us/en.html
on ZTE (Firefox OS) without UA override  http://www.virgin-atlantic.com/us/en.html
on ZTE (Firefox OS) with UA override     http://mobile.virginatlantic.com/home/index.do;jsessionid=<id>.portal3a
on Android + Firefox                     http://mobile.virginatlantic.com/home/index.do;jsessionid=<id>.portal3a
on Android + Opera Mini                  http://mobile.virginatlantic.com/home/index.do;jsessionid=<id>.portal3a
on iPod Touch + Safari                   http://mobile.virginatlantic.com/home/index.do;jsessionid=<id>.portal3b  

So Virgin Atlantic should identify Firefox OS as a mobile (they do not have a responsive Web design with feature detection)

Firefox OS User-Agent String
'Mozilla/5.0 (Mobile; rv:18.0) Gecko/18.0 Firefox/18.0'


HTTP details 

# Firefox Android UA

HEAD / HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate, compress
Host: virginatlantic.com
User-Agent: Mozilla/5.0 (Android; Mobile; rv:18.0) Gecko/18.0 Firefox/18.0



HTTP/1.0 302 Found
Connection: Keep-Alive
Content-Length: 0
Content-Type: text/plain
Location: http://mobile.virginatlantic.com//

Then 

HEAD // HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate, compress
Host: mobile.virginatlantic.com
User-Agent: Mozilla/5.0 (Android; Mobile; rv:18.0) Gecko/18.0 Firefox/18.0



HTTP/1.1 302 Moved Temporarily
Cache-Control: no-cache
Cache-Control: private
Content-Encoding: gzip
Content-Language: en
Content-Type: text/html;charset=ISO-8859-1
Date: Fri, 02 Aug 2013 14:25:58 GMT
Location: http://mobile.virginatlantic.com/home/index.do;jsessionid=A32687E4533F7B5E791D5FE29F6148EC.portal3b
Server: Apache
Vary: User-Agent,Accept-Encoding


Then 

HEAD /home/index.do;jsessionid=A32687E4533F7B5E791D5FE29F6148EC.portal3b HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate, compress
Host: mobile.virginatlantic.com
User-Agent: Mozilla/5.0 (Android; Mobile; rv:18.0) Gecko/18.0 Firefox/18.0



HTTP/1.1 200 OK
Content-Encoding: gzip
Content-Language: en
Content-Length: 20
Content-Type: text/html;charset=UTF-8
Date: Fri, 02 Aug 2013 14:27:20 GMT
Server: Apache
Vary: User-Agent,Accept-Encoding



# Firefox OS

HEAD / HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate, compress
Host: virginatlantic.com
User-Agent: Mozilla/5.0 (Mobile; rv:18.0) Gecko/18.0 Firefox/18.0



HTTP/1.1 301 Moved Permanently
Accept-Ranges: bytes
Age: 2549
Connection: Keep-Alive
Content-Encoding: gzip
Content-Length: 207
Content-Type: text/html; charset=iso-8859-1
Date: Fri, 02 Aug 2013 14:28:50 GMT
Keep-Alive: timeout=15, max=100
Location: http://www.virgin-atlantic.com/index.jsp
Server: Apache
Vary: Accept-Encoding


Then 

HEAD /index.jsp HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate, compress
Host: www.virgin-atlantic.com
User-Agent: Mozilla/5.0 (Mobile; rv:18.0) Gecko/18.0 Firefox/18.0



HTTP/1.1 302 Moved Temporarily
Content-Encoding: gzip
Content-Length: 20
Content-Type: text/html
Date: Fri, 02 Aug 2013 14:28:34 GMT
Location: http://www.virgin-atlantic.com:80/index.jsp?ckck=1
Server: Apache
Set-Cookie: JSESSIONID=YmCKmVmQoSsHfG6ed95b0nM10u3aY73I8Lgjmd8pwirY5XYR9wOW!-1579654809; path=/; HttpOnly
Set-Cookie: CookieCheck=Enabled
Set-Cookie: VA_DC=ODC;path=/;
Vary: Accept-Encoding,User-Agent
X-Powered-By: Servlet/2.5 JSP/2.1


Then 

HEAD /index.jsp?ckck=1 HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate, compress
Host: www.virgin-atlantic.com:80
User-Agent: Mozilla/5.0 (Mobile; rv:18.0) Gecko/18.0 Firefox/18.0



HTTP/1.1 302 Moved Temporarily
Content-Encoding: gzip
Content-Length: 20
Content-Type: text/html
Date: Fri, 02 Aug 2013 14:29:12 GMT
Location: http://www.virgin-atlantic.com/cookiesdisabled.jsp
Server: Apache
Set-Cookie: JSESSIONID=vIgzzDr2I3gmwwn4FxCwidAHLMCmyvtjqEeXjMjWAgL9FvJkAHd2!-1579654809; path=/; HttpOnly
Set-Cookie: VA_DC=ODC;path=/;
Vary: Accept-Encoding,User-Agent
X-Powered-By: Servlet/2.5 JSP/2.1


Then 

HEAD /cookiesdisabled.jsp HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate, compress
Host: www.virgin-atlantic.com
User-Agent: Mozilla/5.0 (Mobile; rv:18.0) Gecko/18.0 Firefox/18.0



HTTP/1.1 302 Moved Temporarily
Content-Encoding: gzip
Content-Length: 20
Content-Type: text/html
Date: Fri, 02 Aug 2013 14:29:46 GMT
Location: http://www.virgin-atlantic.com/en/gb/cookiesdisabled.jsp
Server: Apache
Set-Cookie: JSESSIONID=qhAljGTNA2IJspLVQZvlPBFh5q8uRPCIdYLC2oaEJm2DOsm3iXUw!874936927; path=/; HttpOnly
Set-Cookie: VA_DC=ODC;path=/;
Vary: Accept-Encoding,User-Agent
X-Powered-By: Servlet/2.5 JSP/2.1

Then

HEAD /en/gb/cookiesdisabled.jsp HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate, compress
Host: www.virgin-atlantic.com
User-Agent: Mozilla/5.0 (Mobile; rv:18.0) Gecko/18.0 Firefox/18.0



HTTP/1.1 200 OK
Cache-Control: no-cache
Content-Encoding: gzip
Content-Length: 20
Content-Type: text/html; charset=utf-8
Date: Fri, 02 Aug 2013 14:30:17 GMT
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Pragma: No-cache
Server: Apache
Set-Cookie: JSESSIONID=t3isk0MGTAexOnUxQP0nTANBUz6JrNaxMnIxxmdVEoKXXPJh0ypw!874936927; path=/; HttpOnly
Set-Cookie: LANGUAGEID=1; expires=Saturday, 02-Aug-2014 14:30:17 GMT; path=/
Set-Cookie: REGIONID=1; expires=Saturday, 02-Aug-2014 14:30:17 GMT; path=/
Set-Cookie: VA_DC=ODC;path=/;
Vary: Accept-Encoding,User-Agent
X-Powered-By: Servlet/2.5 JSP/2.1


Without cookies the Web site is not working at all and sends a generic page for warning about the usage of cookies.
Assignee: nobody → kdubost
Whiteboard: [uaoverride] → [uaoverride] [country-all] [serversniff]
Contacted using http://www.virgin-atlantic.com/gb/en/travel-information/customer-service/general-enquiries/non-flight-related.html

Setting expectations.

> We do get a lot of messages, so please bear with us.  We'll make sure we get back to you within 28 days, if not before
Whiteboard: [uaoverride] [country-all] [serversniff] → [uaoverride] [country-all] [sitewait] [serversniff]
Ticket TRACKING NUMBER: A00002058893-00006944627 for Virgin Atlantic
sent another requests with the given tracking number. It has been more than 28 days.
they recommended to use customer.services@fly.virgin.com
Status: NEW → ASSIGNED
Got finally an answer through twitter. http://twitter.com/VirginAtlantic/status/380987779548594176
I contacted the person from this tweet. Hope the next steps will be working.
So finally through twitter and email, we have the start of a human response.

>
> Thank you for your enquiry. I apologise for the delayed response. 
> 
> I can see that your email has been forwarded to our website content team who can assist you. I apologise for the delay, they will be in touch as soon as possible. 

With hope that we will reach a good conclusion.
sent a reminder.
As of today, still not working and no progress on the issue. 

To note that the mobile version is badly zoomed 
* on Opera (Presto) for Android (too small).
* on Firefox Android (too big).
* on UCWeb Android (right size). I suspect webkit css.

The irony is that if I enter http://mobile.virginatlantic.com/ on Firefox OS, it fits well for the first page, but then it's too big for the second page with options choices. Same issue than for Firefox Android.


There will be another bug to open about the mobile site. See Bug 971436.
See Also: → 971436
Hmm It looks like it has been resolved. Cool!
I'm being redirected to http://www.virgin-atlantic.com/us/en.html Which is a mobile site. The layout is not optimum but it is working.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Blocks: 965060
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.