Closed Bug 828422 Opened 10 years ago Closed 8 years ago

publico.es doesn't recognize B2G UA as mobile

Categories

(Web Compatibility :: Mobile, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: lmandel, Unassigned)

References

()

Details

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

publico.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.
Blocks: publico.es
Whiteboard: [uaoverride]
Server-side user agent detection with redirection to the mobile domain.

→ http HEAD http://www.publico.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 301 Moved Permanently
Location: http://m.publico.es
Server: nginx/1.2.5



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

HTTP/1.1 301 Moved Permanently
Location: http://m.publico.es
Server: nginx/1.2.5

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

HTTP/1.1 200 OK
Server: nginx/1.2.5
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]
Email sent using site contact form to technical department.

Hola,

Estoy ayudando al equipo de desarrollo Firefox de Mozilla a resolver
problemas de compatibilidad web. Me gustaría informarle de un problema en su sitio web,
que no está funcionando apropiadamente con Mozilla Firefox. Afecta a la siguiente página:

 http://publico.es/

¿Podría ponerme en contacto con la persona correcta en el equipo de 
comunicación/marketing o equipo técnico a cargo de su sitio web?
https://bugzilla.mozilla.org/show_bug.cgi?id=828422

Muchas gracias por su ayuda.
Un saludo.
Assignee: nobody → astevenson
Status: NEW → ASSIGNED
Whiteboard: [uaoverride] [country-es] [serversniff] [contactready] → [uaoverride] [country-es] [serversniff] [sitewait]
Hello, Adam.

Publico's tech department here.

We are reviewing our Rewrite rules.

Thanks.

Best regards
Great. Thanks for the update!
Sent an email to David asking if there is an update they can provide.
We tried to respect  B2G UA, but it had some colateral issues, so we reverted the change. I suggest to use a more specific UA and/or easier to capture with regexp (ex: Mobile Mozilla or similar).
Thanks for letting us know.
Could you explain the collateral issues you had?

I see that you are using nginx/1.2.5 
Do you mind sharing your rewrite rules for mobile detection? If you do not want to share them in public, send them to me by email.

Thanks.
Flags: needinfo?(webmaster)
Assignee: astevenson → nobody
So this seems to be fixed.
Tested on Firefox OS device Flame.
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Flags: needinfo?(webmaster)
Resolution: --- → FIXED
Remove UA override in bug 1171828
Blocks: 1171828
Product: Tech Evangelism → Web Compatibility
You need to log in before you can comment on or make changes to this bug.