[wp-trac] [WordPress Trac] #43648: Browser "nag" appears when user agent indicates Linux and not Windows on FF 59.0.1 64bit

WordPress Trac noreply at wordpress.org
Wed Mar 28 00:54:57 UTC 2018


#43648: Browser "nag" appears when user agent indicates Linux and not Windows on FF
59.0.1 64bit
--------------------------+------------------------------
 Reporter:  bbogart       |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Security      |     Version:  4.9.4
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by bbogart):

 Never mind, the issue was due to user-agent being misreported (v31 vs
 v59).

 Still, as I understand "version" should not be used, but the Gecko string
 for checking compatibility: " firefoxversion will generally represent the
 equivalent Firefox release corresponding to the given Gecko version. Some
 Gecko-based browsers may not opt into using this token; for this reason,
 sniffers should be looking for Gecko — not Firefox! "
 (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/User-
 Agent/Firefox)

--
Ticket URL: <https://core.trac.wordpress.org/ticket/43648#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list