Closed Bug 843136 Opened 7 years ago Closed 6 years ago

deviantart.com doesn't recognize B2G UA as mobile

Categories

(Web Compatibility :: Mobile, defect)

ARM
Gonk (Firefox OS)
defect
Not set

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: lmandel, Assigned: karlcow)

References

()

Details

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

deviantart.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]
Whiteboard: [uaoverride] → [uaoverride] [country-all]
To be contacted.

The server is sending different content depending on the User Agent String, not visible through HTTP headers.

Firefox      + Android -> Mobile content
Safari       + iPod    -> Mobile content
Opera Mobile + Android -> Mobile content
Opera Mini   + Android -> Mobile content
Firefox OS   + ZTE     -> Desktop content

Firefox OS should be receiving Mobile content too.
User-Agent: Mozilla/5.0 (Mobile; rv:18.0) Gecko/18.0 Firefox/18.0




# Firefox OS

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

HTTP/1.1 200 OK
Cache-Control: private
Content-Encoding: gzip
Content-Type: text/html
Date: Thu, 22 Aug 2013 15:50:55 GMT
P3P: policyref="/w3c/p3p.xml", CP="NOI DSP COR CURa OUR STP"
Server: Apache
Set-Cookie: userinfo=__e5a53b279e194952ae26%3B%7B%22username%22%3A%22%22%2C%22uniqueid%22%3A%2276037a618416f57ab1418ba697f7e88f%22%2C%22vd%22%3A%221377186655%2C1377186655%2C1377186655%2C1%2C1%2C0%2C1%2C0%2C1%2C1377186655%2C1377186655%2C1%2C1%2C0%2C1377186655%2C2%22%7D; expires=Sat, 21-Sep-2013 15:50:55 GMT; path=/; domain=.deviantart.com
Transfer-Encoding: chunked
Vary: Accept-Encoding

# Firefox for Android

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

HTTP/1.1 200 OK
Cache-Control: private
Content-Encoding: gzip
Content-Type: text/html
Date: Thu, 22 Aug 2013 15:51:05 GMT
P3P: policyref="/w3c/p3p.xml", CP="NOI DSP COR CURa OUR STP"
Server: Apache
Set-Cookie: userinfo=__80bee32988f20bb57545%3B%7B%22username%22%3A%22%22%2C%22uniqueid%22%3A%2233515c57e2cdd8e7a44c4c226a770428%22%2C%22vd%22%3A%221377186665%2C1377186665%2C1377186665%2C1%2C1%2C0%2C1%2C0%2C1%2C1377186665%2C1377186665%2C1%2C1%2C0%2C1377186665%2C2%22%7D; expires=Sat, 21-Sep-2013 15:51:05 GMT; path=/; domain=.deviantart.com
Transfer-Encoding: chunked
Vary: Accept-Encoding


A possible test on the content.

→ http -b GET  http://www.deviantart.com/ User-Agent:"$FANUA" | grep -i mobile-only
<div class="mobile-only">

→ http -b GET  http://www.deviantart.com/ User-Agent:"$FOSUA" | grep -i mobile-only
Assignee: nobody → kdubost
Whiteboard: [uaoverride] [country-all] → [uaoverride] [country-all] [serversniff]
Assignee: kdubost → nobody
According to http://help.deviantart.com/38/

> deviantART currently supports the following Mobile OS devices;
> 
> Android (Latest Official Release)
> iOS(Latest Official Release)
> 
> If you are experiencing issues with the site please ensure you are using the most recent version of your browser and of browsing via a Mobile device you are using one we support before contacting the Help Desk. 

I just created a bug at deviantart for it 
#563085 DeviantArt on Firefox OS devices
Assignee: nobody → kdubost
Status: NEW → ASSIGNED
Whiteboard: [uaoverride] [country-all] [serversniff] → [uaoverride] [country-all] [serversniff] [sitewait]
Answer from DeviantArt

> Thank you for your report concerning this issue. The information you have provided has been sent to our deviousTechnology department to be looked into.
> 
> Please note that if this ticket is set to resolved this does not necessarily mean that your issue is fixed, but that there is no further reason for the ticket to remain open as we have collected all the necessary information we need in order to look into the situation.

to follow up in a couple of weeks if they do not comment here.
sent a reminder the site is still broken on Firefox OS
We have been quite unsuccessful with the user support.
Searching a bit more information around, I found https://github.com/deviantART?tab=members

Contacted one of the persons. We will see where it leads.
After reaching out a developer, it has been fixed in less than 24h. Thanks a lot to deviantart devs!
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Blocks: 948642
Product: Tech Evangelism → Web Compatibility
You need to log in before you can comment on or make changes to this bug.