Closed
Bug 843186
Opened 13 years ago
Closed 12 years ago
chevrolet.com doesn't recognize B2G UA as mobile
Categories
(Web Compatibility :: Site Reports, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: lmandel, Assigned: karlcow)
References
()
Details
(Whiteboard: [uaoverride] [country-all] [serversniff] [contactready])
chevrolet.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.
| Reporter | ||
Updated•13 years ago
|
| Assignee | ||
Updated•12 years ago
|
Whiteboard: [uaoverride] → [uaoverride] [country-all]
Updated•12 years ago
|
Whiteboard: [uaoverride] [country-all] → [uaoverride] [country-all] [serversniff]
Updated•12 years ago
|
Whiteboard: [uaoverride] [country-all] [serversniff] → [uaoverride] [country-all] [serversniff] [contactready]
| Assignee | ||
Comment 1•12 years ago
|
||
Contacted with http://www.chevrolet.com/chevrolet/tools/promotionalapp/contactuspromoapp.do?email=cac@chevrolet.com&topic=3
# Firefox OS
GET / HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate, compress
Host: www.chevrolet.com
User-Agent: Mozilla/5.0 (Mobile; rv:18.0) Gecko/18.0 Firefox/18.0
HTTP/1.1 200 OK
Cache-Control: max-age=2731
Connection: keep-alive
Content-Encoding: gzip
Content-Length: 19453
Content-Type: text/html;charset=utf-8
Date: Tue, 17 Sep 2013 16:09:49 GMT
Expires: Tue, 17 Sep 2013 16:55:20 GMT
Server: Apache
Set-Cookie: GMWP_location=country_code=CA,region_code=QC,city=MONTREAL,county=,zip=H1A+H1B+H1C+H1E+H1G+H1H+H1K+H1L+H1M+H1N+H1R+H1S+H1T+H1V+H1W+H1X+H1Y+H1Z+H2A+H2B+H2C+H2E+H2G+H2H+H2J+H2K+H2L+H2M+H2N+H2P+H2R+H2S+H2T+H2V+H2W+H2X+H2Y+H2Z+H3A+H3B+H3C+H3G+H3H+H3J+H3K+H3L+H3M+H3N+H3P+H3R+H3S+H3T+H3V+H3W+H3X+H3Y+H3Z+H4A+H4B+H4C+H4E+H4J+H4K+H4N+H4P+H4V+H4W+H4Z+H5A+H5B; path=/; domain=chevrolet.com
Vary: Accept-Encoding
X-UA-Compatible: IE=edge
# Firefox for Android
GET / HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate, compress
Host: www.chevrolet.com
User-Agent: Mozilla/5.0 (Android; Mobile; rv:18.0) Gecko/18.0 Firefox/18.0
HTTP/1.1 302 Moved Temporarily
Connection: keep-alive
Content-Length: 0
Date: Tue, 17 Sep 2013 16:10:28 GMT
Location: http://m.chevrolet.com/
Server: AkamaiGHost
Set-Cookie: GMWP_location=country_code=CA,region_code=QC,city=MONTREAL,county=,zip=H1A+H1B+H1C+H1E+H1G+H1H+H1K+H1L+H1M+H1N+H1R+H1S+H1T+H1V+H1W+H1X+H1Y+H1Z+H2A+H2B+H2C+H2E+H2G+H2H+H2J+H2K+H2L+H2M+H2N+H2P+H2R+H2S+H2T+H2V+H2W+H2X+H2Y+H2Z+H3A+H3B+H3C+H3G+H3H+H3J+H3K+H3L+H3M+H3N+H3P+H3R+H3S+H3T+H3V+H3W+H3X+H3Y+H3Z+H4A+H4B+H4C+H4E+H4J+H4K+H4N+H4P+H4V+H4W+H4Z+H5A+H5B; path=/; domain=chevrolet.com
Assignee: nobody → kdubost
Whiteboard: [uaoverride] [country-all] [serversniff] [contactready] → [uaoverride] [country-all] [serversniff] [contactready] [sitewait]
| Assignee | ||
Updated•12 years ago
|
Status: NEW → ASSIGNED
| Assignee | ||
Comment 2•12 years ago
|
||
Let's test the Web site in a couple of weeks.
> Dear Mr. Dubost,
>
> Thank you for contacting Chevrolet! We appreciate the time you have taken to write us and are delighted to assist you today.
>
> We apologize for any frustration or inconvenience you have experienced while navigating through our website. Please know that our website works best with Internet Explorer 8 (IE8). We are aware of the compatibility issues with other web browsers and are working to make our websites more user friendly. Regrettably, we are unable to connect you with our website coordinator directly but will document your feedback and forward your comments to the appropriate department.
>
> It was our pleasure to assist you today. At Chevrolet, we strive to provide exceptional customer service. If we can be of any further assistance please email us or call 1-800-950-2438 Monday through Friday between the hours of 8am to 9pm Eastern Time, and Saturday 9am to 6pm. Thank you for contacting Chevrolet!
>
> Sincerely,
>
> The Chevrolet Marketing Team
| Assignee | ||
Comment 3•12 years ago
|
||
Sent a reminder with details on how to fix it.
| Assignee | ||
Updated•12 years ago
|
Whiteboard: [uaoverride] [country-all] [serversniff] [contactready] [sitewait] → [uaoverride] [country-all] [serversniff] [sitewait]
Comment 4•12 years ago
|
||
The automated testing thinks this is fixed now, but it fails on my Geeksphone - perhaps the override is breaking the fixed site now, or something? Works fine when testing in Firefox on desktop with a spoof.
Updated•12 years ago
|
Flags: needinfo?(kdubost)
| Assignee | ||
Comment 5•12 years ago
|
||
This is a half-fix.
The usual common issue where the fix is too restrictive. I guess we need to publish something about this.
In this case
Firefox OS $VERSION with $VERSION <= 18 goes to mobile and the rest to desktop. To contact again.
# FIREFOX OS 17 - MOBILE
→ http --print hH GET www.chevrolet.com "User-Agent: Mozilla/5.0 (Mobile; rv:17
.0) Gecko/17.0 Firefox/17.0"
GET / HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate, compress
Host: www.chevrolet.com
User-Agent: Mozilla/5.0 (Mobile; rv:17.0) Gecko/17.0 Firefox/17.0
HTTP/1.1 302 Moved Temporarily
Connection: keep-alive
Content-Length: 0
Date: Fri, 07 Feb 2014 16:35:25 GMT
Location: http://m.chevrolet.com/
Server: AkamaiGHost
Set-Cookie: GMWP_location=country_code=US,region_code=CA,city=SANFRANCISCO,county=SANFRANCISCO+SANMATEO,zip=94102-94105+94107-94112+94114-94134+94137+94139-94147+94151+94153-94154+94156+94159-94164+94171-94172+94177+94188; path=/; domain=chevrolet.com
# FIREFOX OS 18 - MOBILE
→ http --print hH GET www.chevrolet.com "User-Agent: Mozilla/5.0 (Mobile; rv:18
.0) Gecko/18.0 Firefox/18.0"
GET / HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate, compress
Host: www.chevrolet.com
User-Agent: Mozilla/5.0 (Mobile; rv:18.0) Gecko/18.0 Firefox/18.0
HTTP/1.1 302 Moved Temporarily
Connection: keep-alive
Content-Length: 0
Date: Fri, 07 Feb 2014 16:36:18 GMT
Location: http://m.chevrolet.com/
Server: AkamaiGHost
Set-Cookie: GMWP_location=country_code=US,region_code=CA,city=HAYWARD,county=ALAMEDA,zip=94540-94545+94557; path=/; domain=chevrolet.com
# FIREFOX OS 19 - DESKTOP
→ http --print hH GET www.chevrolet.com "User-Agent: Mozilla/5.0 (Mobile; rv:19
.0) Gecko/19.0 Firefox/19.0"
GET / HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate, compress
Host: www.chevrolet.com
User-Agent: Mozilla/5.0 (Mobile; rv:19.0) Gecko/19.0 Firefox/19.0
HTTP/1.1 200 OK
Cache-Control: max-age=1669
Connection: keep-alive
Content-Encoding: gzip
Content-Length: 12566
Content-Type: text/html;charset=utf-8
Date: Fri, 07 Feb 2014 16:35:39 GMT
Expires: Fri, 07 Feb 2014 17:03:28 GMT
Server: Apache
Set-Cookie: GMWP_location=country_code=US,region_code=CA,city=SANFRANCISCO,county=SANFRANCISCO+SANMATEO,zip=94102-94105+94107-94112+94114-94134+94137+94139-94147+94151+94153-94154+94156+94159-94164+94171-94172+94177+94188; path=/; domain=chevrolet.com
Vary: Accept-Encoding
X-UA-Compatible: IE=edge
Flags: needinfo?(kdubost)
Whiteboard: [uaoverride] [country-all] [serversniff] [sitewait] → [uaoverride] [country-all] [serversniff] [contactready]
| Assignee | ||
Comment 6•12 years ago
|
||
| suggestedfix | ||
See Comment #5 and Comment #1 for HTTP requests
So after checking a bit more into details and trying a few version number.
Mozilla/5.0 (Mobile; rv:$VERSION) Gecko/$VERSION Firefox/$VERSION
These trigger the mobile version:
Mozilla/5.0 (Mobile; rv:17.0) Gecko/17.0 Firefox/17.0
Mozilla/5.0 (Mobile; rv:18.0) Gecko/18.0 Firefox/18.0
This too
Mozilla/5.0 (Mobile; FooBar; rv:18.0) Gecko/18.0 Firefox/18.0
But everything which is $VERSION < 17 or $VERSION > 18, gives desktop site.
I guess the detection framework is not very resistant. I encouraged last time to detect
i/mobi/
or i/mobi.*firefox/ (if afraid to catch more things)
| Assignee | ||
Comment 7•12 years ago
|
||
Contacted again Chevrolet.
| Assignee | ||
Comment 8•12 years ago
|
||
This is fixed. :)
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•7 years ago
|
Product: Tech Evangelism → Web Compatibility
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
•