Támogatás keresése

Kerülje el a támogatási csalásokat. Sosem kérjük arra, hogy hívjon fel egy telefonszámot vagy osszon meg személyes információkat. Jelentse a gyanús tevékenységeket a „Visszaélés bejelentése” lehetőséggel.

Learn More

A témacsoportot lezárták és archiválták. Tegyen fel új kérdést, ha segítségre van szüksége.

Why is firefox submitting empty http user agent headers with "browser" listed as "default browsers"

  • 3 válasz
  • 2 embernek van ilyen problémája
  • 26 megtekintés
  • Utolsó üzenet ettől: cor-el

more options

Basically the entire gist of it. Every other browser on my computer submits complete user agent headers, but firefox seems to have decided not to do this. I've tested this with addons enabled and disabled on two different pc's and still get the same result. running firefox 14.0. Here is the user agent header I'm getting...

   [browser_name_regex] => §^.*$§
   [browser_name_pattern] => *
   [browser] => Default Browser
   [version] => 0
   [majorver] => 0
   [minorver] => 0
   [platform] => unknown
   [alpha] => 
   [beta] => 
   [win16] => 
   [win32] => 
   [win64] => 
   [frames] => 
   [iframes] => 
   [tables] => 
   [cookies] => 
   [backgroundsounds] => 
   [javascript] => 
   [vbscript] => 
   [javaapplets] => 
   [activexcontrols] => 
   [isbanned] => 
   [ismobiledevice] => 
   [issyndicationreader] => 
   [crawler] => 
   [cssversion] => 0
   [aolversion] => 0

Any help is appreciated. I'm a web developer just trying to understand why stuff like this isn't standardized across browsers.

Basically the entire gist of it. Every other browser on my computer submits complete user agent headers, but firefox seems to have decided not to do this. I've tested this with addons enabled and disabled on two different pc's and still get the same result. running firefox 14.0. Here is the user agent header I'm getting... [browser_name_regex] => §^.*$§ [browser_name_pattern] => * [browser] => Default Browser [version] => 0 [majorver] => 0 [minorver] => 0 [platform] => unknown [alpha] => [beta] => [win16] => [win32] => [win64] => [frames] => [iframes] => [tables] => [cookies] => [backgroundsounds] => [javascript] => [vbscript] => [javaapplets] => [activexcontrols] => [isbanned] => [ismobiledevice] => [issyndicationreader] => [crawler] => [cssversion] => 0 [aolversion] => 0 Any help is appreciated. I'm a web developer just trying to understand why stuff like this isn't standardized across browsers.

Kiválasztott megoldás

Which code or which website do you visit to get those results?

Which user agent do you see on the Help > Troubleshooting Information page?

Válasz olvasása eredeti szövegkörnyezetben 👍 2

Összes válasz (3)

more options

Kiválasztott megoldás

Which code or which website do you visit to get those results?

Which user agent do you see on the Help > Troubleshooting Information page?

more options

Ooops!

Did the testing on my own server. looks like the problem is an out of date browscap.ini file that doesn't recognize firefox 14 yet.

The userAgent string is there. I was just looking at data from a specific php function that returns values based on the string. With an out-of-date browscap.ini file, its simply going to always return the wrong values.

Thanks for the quick reply cor-el