Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003698 [Quercus] minor always 09-27-09 14:24 09-27-09 14:24
Reporter pablorg View Status public  
Assigned To
Priority normal Resolution open  
Status new   Product Version 4.0.0
Summary 0003698: get_browser different from php's
Description There are several differences in the output of this function between php and Quercus. Notably, Parent & Platform array keys should be lower-cased.

Quercus:
stdClass Object ( [Parent] => Chrome 3.0 [Platform] => WinVista [browser_name_pattern] => Mozilla/5.0 (Windows; U; Windows NT 6.0; *) AppleWebKit/* (KHTML, like Gecko) Chrome/3.0.* Safari/* [browser_name_regex] => Mozilla/5\.0 \(Windows; U; Windows NT 6\.0; .*\) AppleWebKit/.* \(KHTML, like Gecko\) Chrome/3\.0\..* Safari/.* )

PHP:
stdClass Object ( [browser_name_regex] => ^mozilla/5\.0 (windows; u; windows nt 6\.0; .*) applewebkit/.* (khtml, like gecko) chrome/3\.0\..* safari/.*$ [browser_name_pattern] => Mozilla/5.0 (Windows; U; Windows NT 6.0; *) AppleWebKit/* (KHTML, like Gecko) Chrome/3.0.* Safari/* [parent] => Chrome 3.0 [platform] => WinVista [browser] => Chrome [version] => 3.0 [majorver] => 3 [win32] => 1 [frames] => 1 [iframes] => 1 [tables] => 1 [cookies] => 1 [javaapplets] => 1 [javascript] => 1 [cssversion] => 3 [supportscss] => 1 [minorver] => 0 [alpha] => [beta] => [win16] => [win64] => [backgroundsounds] => [cdf] => [vbscript] => [activexcontrols] => [isbanned] => [ismobiledevice] => [issyndicationreader] => [crawler] => [aol] => [aolversion] => 0 )
Additional Information
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
09-27-09 14:24 pablorg New Issue


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
26 total queries executed.
24 unique queries executed.
Powered by Mantis Bugtracker