<?xml version="1.0"?>
<?xml-stylesheet
href="http://www.w3.org/2000/08/w3c-synd/style.css" type="text/css"
?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
    <channel rdf:about="http://pear.php.net/bugs/search.php">
    <title>PEAR Bug Search Results</title>
    <link>http://pear.php.net/bugs/search.php?cmd=display&amp;package_name%5B0%5D=Net_UserAgent_Detect&amp;PHPSESSID=6sh8hov6085gl1gd4s43b0k8h0</link>
    <description>Search Results</description>
    <dc:language>en-us</dc:language>
    <dc:creator>pear-webmaster@lists.php.net</dc:creator>
    <dc:publisher>pear-webmaster@lists.php.net</dc:publisher>
    <admin:generatorAgent rdf:resource="http://pear.php.net/bugs"/>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>
    <items>
     <rdf:Seq>
      <rdf:li rdf:resource="http://pear.php.net/bug/15849" />
      <rdf:li rdf:resource="http://pear.php.net/bug/15834" />
      <rdf:li rdf:resource="http://pear.php.net/bug/15101" />

     </rdf:Seq>
    </items>
  </channel>

  <image rdf:about="http://pear.php.net/gifs/pearsmall.gif">
    <title>PEAR Bugs</title>
    <url>http://pear.php.net/gifs/pearsmall.gif</url>
    <link>http://pear.php.net/bugs</link>
  </image>

    <item rdf:about="http://pear.php.net/bug/15849">
      <title>Net_UserAgent_Detect: Bug 15849 [Open] Missing OS/2 support</title>
      <link>http://pear.php.net/bugs/15849</link>
      <content:encoded><![CDATA[<pre>Net_UserAgent_Detect Bug
Reported by gemal
2009-01-31T15:17:06+00:00
PHP: 5.2.0 OS: os/2 Package Version: 2.5.0

Description:
------------
OS/2 is not detected with the following useragent:

HTTP_USER_AGENT = Mozilla/5.0 (OS/2; U; Warp 4.5; en-US; rv:1.8.1.4) Gecko/20070531 Firefox/2.0.0.4</pre>]]></content:encoded>
      <description><![CDATA[<pre>Net_UserAgent_Detect Bug
Reported by gemal
2009-01-31T15:17:06+00:00
PHP: 5.2.0 OS: os/2 Package Version: 2.5.0

Description:
------------
OS/2 is not detected with the following useragent:

HTTP_USER_AGENT = Mozilla/5.0 (OS/2; U; Warp 4.5; en-US; rv:1.8.1.4) Gecko/20070531 Firefox/2.0.0.4</pre>]]></description>
      <dc:date>2009-01-31T15:17:06+00:00</dc:date>
      <dc:creator>spam &amp;#x61;&amp;#116; gemal &amp;#x64;&amp;#111;&amp;#x74; dk</dc:creator>
      <dc:subject>Net_UserAgent_Detect Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/15834">
      <title>Net_UserAgent_Detect: Feature/Change Request 15834 [Open] Add better Mac Operating System Support</title>
      <link>http://pear.php.net/bugs/15834</link>
      <content:encoded><![CDATA[<pre>Net_UserAgent_Detect Feature/Change Request
Reported by jladicos
2009-01-30T13:11:56+00:00
PHP: 5.2.6 OS: OS X 10.5 Package Version: 2.5.0

Description:
------------
Currently when I call getOSString() on a Mac I get simply &quot;Macintosh&quot; regardless of the actual version of OS X that I'm using. It would be nice to add support for at least Tiger, Leopard and the upcoming Snow Leopard.

Test script:
---------------
$sniffer = new Net_UserAgent_Detect();
$os = $sniffer-&gt;getOSString();

echo $os;

Expected result:
----------------
On my box (running OS X 10.5) I would like to see:
&quot;OS X Leopard (10.5)&quot;

Actual result:
--------------
The result I get is:
&quot;Macintosh&quot;</pre>]]></content:encoded>
      <description><![CDATA[<pre>Net_UserAgent_Detect Feature/Change Request
Reported by jladicos
2009-01-30T13:11:56+00:00
PHP: 5.2.6 OS: OS X 10.5 Package Version: 2.5.0

Description:
------------
Currently when I call getOSString() on a Mac I get simply &quot;Macintosh&quot; regardless of the actual version of OS X that I'm using. It would be nice to add support for at least Tiger, Leopard and the upcoming Snow Leopard.

Test script:
---------------
$sniffer = new Net_UserAgent_Detect();
$os = $sniffer-&gt;getOSString();

echo $os;

Expected result:
----------------
On my box (running OS X 10.5) I would like to see:
&quot;OS X Leopard (10.5)&quot;

Actual result:
--------------
The result I get is:
&quot;Macintosh&quot;</pre>]]></description>
      <dc:date>2009-01-30T13:11:56+00:00</dc:date>
      <dc:creator>jason &amp;#x61;&amp;#116; one45 &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>Net_UserAgent_Detect Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/15101">
      <title>Net_UserAgent_Detect: Bug 15101 [Open] IE7 not correctly detected</title>
      <link>http://pear.php.net/bugs/15101</link>
      <content:encoded><![CDATA[<pre>Net_UserAgent_Detect Bug
Reported by davey
2008-11-20T11:25:12+00:00
PHP: Irrelevant OS: Irrelevant Package Version: 2.5.0

Description:
------------
With the UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 
6.0; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; 
SLCC1; .NET CLR 2.0.50727; .NET CLR 3.0.04506; .NET CLR 1.1.4322; 
InfoPath.2), Net_UserAgent_Detect says that the browser is ie6up, ie7 
but NOT ie7up because it has both MSIE 6.0 and MSIE 7.0.

The logic is:
$browser['ie7up']   = $browser['ie6up'] &amp;&amp; !$browser['ie6'];

Because ie6 is true, ie7up ends up as false. Changing this to:
$browser['ie7up']   = $browser['ie6up'] &amp;&amp; (!$browser['ie6'] || 
$browser['ie7']);

Fixes the issue. I believe this broken UA string comes from InfoPath 
being installed.

The other option is to do:
$browser['ie6']     = strpos($agt, 'msie 6') !== false &amp;&amp; strpos($agt, 
'msie 7') === false;

This will stop the IE6 false positive also, but I think the first fix is 
more forward compatible.

Expected result:
----------------
Detect the UA as IE7+

Actual result:
--------------
Does not detect the UA as IE7+, but does detect it as IE7</pre>]]></content:encoded>
      <description><![CDATA[<pre>Net_UserAgent_Detect Bug
Reported by davey
2008-11-20T11:25:12+00:00
PHP: Irrelevant OS: Irrelevant Package Version: 2.5.0

Description:
------------
With the UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 
6.0; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; 
SLCC1; .NET CLR 2.0.50727; .NET CLR 3.0.04506; .NET CLR 1.1.4322; 
InfoPath.2), Net_UserAgent_Detect says that the browser is ie6up, ie7 
but NOT ie7up because it has both MSIE 6.0 and MSIE 7.0.

The logic is:
$browser['ie7up']   = $browser['ie6up'] &amp;&amp; !$browser['ie6'];

Because ie6 is true, ie7up ends up as false. Changing this to:
$browser['ie7up']   = $browser['ie6up'] &amp;&amp; (!$browser['ie6'] || 
$browser['ie7']);

Fixes the issue. I believe this broken UA string comes from InfoPath 
being installed.

The other option is to do:
$browser['ie6']     = strpos($agt, 'msie 6') !== false &amp;&amp; strpos($agt, 
'msie 7') === false;

This will stop the IE6 false positive also, but I think the first fix is 
more forward compatible.

Expected result:
----------------
Detect the UA as IE7+

Actual result:
--------------
Does not detect the UA as IE7+, but does detect it as IE7</pre>]]></description>
      <dc:date>2008-11-20T11:25:12+00:00</dc:date>
      <dc:creator>davey &amp;#x61;&amp;#116; php &amp;#x64;&amp;#111;&amp;#x74; net</dc:creator>
      <dc:subject>Net_UserAgent_Detect Bug</dc:subject>
    </item>
</rdf:RDF>
