Closed Bug 1013931 Opened 10 years ago Closed 7 years ago

Fedex.com doesn't recognize Firefox Android and Firefox OS UAs as mobile

Categories

(Web Compatibility :: Site Reports, defect)

Other
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Swarnava, Assigned: adamopenweb)

References

()

Details

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

Attachments

(1 file)

Visit a fedex tracking page, for example: https://www.fedex.com/insight/findit/nrp.jsp?tracknumbers=575791242545&opco=FX&language=en&clienttype=ivother

Fennec is opening a desktop version of fedex tracking page instead of mobile version.
It looks like they're doing serverside ua detection and aren't recognizing Firefox OS or Firefox for Android as mobile browsers:

$ http --print=Hh GET https://www.fedex.com/fedextrack/ User-Agent:"$CHR"
GET /fedextrack/ HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate, compress
Host: www.fedex.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

HTTP/1.1 301 Moved Permanently
Cache-Control: max-age=0, no-cache, no-store
Connection: keep-alive
Content-Length: 254
Content-Type: text/html; charset=iso-8859-1
Date: Wed, 21 May 2014 14:57:30 GMT
Expires: Wed, 21 May 2014 14:57:30 GMT
Location: http://m.fedex.com/mt/www.fedex.com/fedextrack
Pragma: no-cache
Server: Apache/2.2
Set-Cookie: siteDC=wtc; path=secure; domain=.fedex.com; expires=Thu, 22-May-2014 14:57:30 GMT

(env)mtaylor at omg-2 in ~/tmp/tmp.noindex
$ http --print=Hh GET https://www.fedex.com/fedextrack/ User-Agent:"$FFA"
GET /fedextrack/ HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate, compress
Host: www.fedex.com
User-Agent: Mozilla/5.0 (Android; Mobile; rv:25.0) Gecko/25.0 Firefox/25.0

HTTP/1.1 200 OK
Accept-Ranges: bytes
Cache-Control: max-age=0, no-cache, no-store
Connection: keep-alive
Content-Encoding: gzip
Content-Length: 2670
Content-Type: text/html
Date: Wed, 21 May 2014 14:57:40 GMT
Expires: Wed, 21 May 2014 14:57:40 GMT
Pragma: no-cache
Server: Apache/2.2
Set-Cookie: siteDC=edc; path=secure; domain=.fedex.com; expires=Thu, 22-May-2014 14:57:40 GMT
Set-Cookie: fdx_cbid=29701262841400684260156590242061; path=/; expires=Tue, 16-May-34 14:57:40 GMT; domain=.fedex.com
Set-Cookie: fdx_locale=en_US; path=/; expires=Tue, 16-May-34 14:57:40 GMT; domain=.fedex.com
Set-Cookie: fdx_locale_data=acl:?|ccc:?|pcc:?|plo:?|uri:/fedextrack/; path=/; expires=Tue, 16-May-34 14:57:40 GMT; domain=.fedex.com
Vary: User-Agent,Accept-Encoding

When spoofing as Chrome Mobile, the m.fedex.com works pretty well. We should recommend to them that they add Firefox mobile browsers to their detection routines.
Whiteboard: [country-all][contactready][serversniff]
Summary: Fedex.comdoesn't recognize Fennec and B2G UAs as mobile → Fedex.com doesn't recognize Fennec and B2G UAs as mobile
Maybe Zack Perry from Fedex can help with this.

http://www.linkedin.com/in/zackperry
Trying twitter: https://twitter.com/MozWebCompat/status/471402323508756480
Assignee: nobody → astevenson
Status: NEW → ASSIGNED
Summary: Fedex.com doesn't recognize Fennec and B2G UAs as mobile → Fedex.com doesn't recognize Firefox Android and Firefox OS UAs as mobile
Whiteboard: [country-all][contactready][serversniff] → [country-all][sitewait][serversniff]
Response: "sorry I don't work in automation unfortunately. Try the fedex handle and see if they can route you."

Trying the Fedex Help account on twitter. https://twitter.com/MozWebCompat/status/471741917987102721
I didn't understand that answer btw. What is automation and how does it relate to our issue? Adam do you have an idea? I was confused when reading it ^_^
Karl, I'm not sure the exact context of "automation" for Fedex though I have experience in that industry. Zack is from the Innovation team and has a lot of tenure, was hoping he'd have a contact for us. But it is a big company so lots of contacts to try if the Fedex Help account doesn't work out.
Nothing from Fedex Help. We will have to try someone else.
Attached image firefox.png
Fedex now provides mobile version for Firefox android
Great news! Let's go ahead and close.
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
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.

Attachment

General

Created:
Updated:
Size: