Why is firefox submitting empty http user agent headers with "browser" listed as "default 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.
被采纳的解决方案
Which code or which website do you visit to get those results?
Which user agent do you see on the Help > Troubleshooting Information page?
定位到答案原位置 👍 2所有回复 (3)
选择的解决方案
Which code or which website do you visit to get those results?
Which user agent do you see on the Help > Troubleshooting Information page?
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
You're welcome