publico.es doesn't recognize B2G UA as mobile

RESOLVED FIXED

Status

RESOLVED FIXED
6 years ago
3 years ago

People

(Reporter: lmandel, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

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

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: 828421
Whiteboard: [uaoverride]

Comment 1

5 years ago
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]

Updated

5 years ago
Assignee: nobody → kdubost
Whiteboard: [uaoverride] [country-es] → [uaoverride] [country-es] [serversniff]

Updated

5 years ago
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]

Comment 3

5 years ago
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.

Comment 6

5 years ago
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).

Comment 7

5 years ago
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

Comment 8

4 years ago
So this seems to be fixed.
Tested on Firefox OS device Flame.
Status: ASSIGNED → RESOLVED
Last Resolved: 4 years ago
Flags: needinfo?(webmaster)
Resolution: --- → FIXED

Comment 9

3 years ago
Remove UA override in bug 1171828

Updated

3 years ago
Blocks: 1171828
You need to log in before you can comment on or make changes to this bug.