Prohledat stránky podpory

Vyhněte se podvodům. Za účelem poskytnutí podpory vás nikdy nežádáme, abyste zavolali nebo poslali SMS na nějaké telefonní číslo nebo abyste sdělili své osobní údaje. Jakékoliv podezřelé chování nám prosím nahlaste pomocí odkazu „Nahlásit zneužití“.

Zjistit více

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

  • 3 odpovědi
  • 2 mají tento problém
  • 8 zobrazení
  • Poslední odpověď od 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.

Zvolené řešení

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

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

Přečíst dotaz v kontextu 👍 2

Všechny odpovědi (3)

more options

Zvolené řešení

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

more options

You're welcome