Closed Bug 828416 Opened 8 years ago Closed 6 years ago

loteriasyapuestas.es doesn't recognize B2G UA as mobile

Categories

(Web Compatibility :: Mobile, defect, P5)

ARM
Gonk (Firefox OS)
defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: lmandel, Assigned: adamopenweb)

References

()

Details

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

Attachments

(1 file)

loteriasyapuestas.es 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]
There is a first redirect on desktop http://loteriasyapuestas.es/ to http://loteriasyapuestas.es/es

Server side redirect on a different domain based on user agent sniffing. Note the HEAD and the GET do not send the same headers. So warning for testing based on HTTP headers. (As usual tested also on devices). Oh and a subtlety, if the mobile domain is entered by hand, the user is being forced to the desktop site. 


→ http HEAD http://loteriasyapuestas.es/ 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 302 Found
Location: http://m.loteriasyapuestas.es
Server: Apache


→ http HEAD http://m.loteriasyapuestas.es 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



→ http HEAD http://loteriasyapuestas.es/ User-Agent:'Mozilla/5.0 (Android; Mobile; rv:18.0) Gecko/18.0 Firefox/18.0' 

HTTP/1.1 302 Found
Location: http://m.loteriasyapuestas.es
Server: Apache



→ http HEAD http://loteriasyapuestas.es/ User-Agent:'Mozilla/5.0 (Mobile; rv:18.0) Gecko/18.0 Firefox/18.0' 

HTTP/1.1 302 Found
Location: http://loteriasyapuestas.es/es
Server: Apache



→ http HEAD http://loteriasyapuestas.es/es User-Agent:'Mozilla/5.0 (Mobile; rv:18.0) Gecko/18.0 Firefox/18.0' 

HTTP/1.1 200 OK



→ http HEAD http://m.loteriasyapuestas.es User-Agent:'Mozilla/5.0 (Mobile; rv:18.0) Gecko/18.0 Firefox/18.0' 

HTTP/1.1 302 Found
Location: http://www.loteriasyapuestas.es
Server: Apache
Whiteboard: [uaoverride] → [uaoverride] [country-es]
Assignee: nobody → kdubost
Whiteboard: [uaoverride] [country-es] → [uaoverride] [country-es] [serversniff]
Assignee: kdubost → nobody
Whiteboard: [uaoverride] [country-es] [serversniff] → [uaoverride] [country-es] [serversniff] [contactready]
Site was built by Betware (betware.com) an Icelandic company. Reaching out to info (@) betware.com
Assignee: nobody → astevenson
Status: NEW → ASSIGNED
Whiteboard: [uaoverride] [country-es] [serversniff] [contactready] → [uaoverride] [country-es] [serversniff] [sitewait]
Response: "Hi Adam I have forwarded this to the appropriate Project Manager at Betware."
Response: "The site where the issue is happening is another Company, our domain is different. I’ve sent the issue to SELAE to take a look on that."
Any followup on this adam?
Flags: needinfo?(astevenson)
Haven't heard back, sending a follow up to see if we can have access to their contact at SELAE.
Flags: needinfo?(astevenson)
This is fixed. Thanks Adam.
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Hm.. screenshot? I'm seeing desktop'ish content that's very different from what for example the Android stock browser gets.
Status: RESOLVED → REOPENED
Flags: needinfo?(kdubost)
Resolution: FIXED → ---
Hmmm weird. I might have checked with the wrong device. Sorry about that.

So Indeed on Firefox OS, I receive a desktop site.
On Firefox Android, I receive a mobile site. (There are a couple of display issues)
On iOS, I receive the mobile site.
Flags: needinfo?(kdubost)
Status: REOPENED → NEW
Priority: -- → P5
Mass closing as we are no longer working on b2g/firefox os.
Status: NEW → RESOLVED
Closed: 6 years ago2 years ago
Resolution: --- → WONTFIX
Mass closing as we are no longer working on b2g/firefox os.
Closed: 2 years ago2 years ago
Product: Tech Evangelism → Web Compatibility
You need to log in before you can comment on or make changes to this bug.