Mantis - Quercus
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
3698 | minor | always | 09-27-09 14:24 | 09-27-09 14:24 | |
|
|||||
Reporter: | pablorg | Platform: | |||
Assigned To: | OS: | ||||
Priority: | normal | OS Version: | |||
Status: | new | Product Version: | 4.0.0 | ||
Product Build: | Resolution: | open | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | |||
|
|||||
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 ) |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: |
There are no notes attached to this issue. |