<?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=Auth_HTTP</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/21257" />
      <rdf:li rdf:resource="http://pear.php.net/bug/21186" />
      <rdf:li rdf:resource="http://pear.php.net/bug/20562" />
      <rdf:li rdf:resource="http://pear.php.net/bug/20006" />
      <rdf:li rdf:resource="http://pear.php.net/bug/19800" />

     </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/21257">
      <title>Auth_HTTP: Bug 21257 [Open] bug</title>
      <link>http://pear.php.net/bugs/21257</link>
      <content:encoded><![CDATA[<pre>Auth_HTTP Bug
Reported by anshul
2017-11-13T11:56:24+00:00
PHP: 5.6.26 OS: Window8.1 Package Version: 

Description:
------------
bug file

Test script:
---------------
ew

Expected result:
----------------
wew

Actual result:
--------------
ew</pre>]]></content:encoded>
      <description><![CDATA[<pre>Auth_HTTP Bug
Reported by anshul
2017-11-13T11:56:24+00:00
PHP: 5.6.26 OS: Window8.1 Package Version: 

Description:
------------
bug file

Test script:
---------------
ew

Expected result:
----------------
wew

Actual result:
--------------
ew</pre>]]></description>
      <dc:date>2017-11-13T11:56:24+00:00</dc:date>
      <dc:creator>smartmoneyind &amp;#x61;&amp;#116; gmail &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>Auth_HTTP Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/21186">
      <title>Auth_HTTP: Bug 21186 [Open] require Auth/HTTP.php failed</title>
      <link>http://pear.php.net/bugs/21186</link>
      <content:encoded><![CDATA[<pre>Auth_HTTP Bug
Reported by dfeng
2017-02-23T14:56:46+00:00
PHP: HEAD SVN-2017-02-23 OS: Ubuntu 16.04 Package Version: 2.1.8

Description:
------------
My php version is 7.0-fpm, I've installed the newest HTTP_AUTH 
but failed to excite a simple script:
&lt;?php
// example of Auth_HTTP basic implementation 

require_once(&quot;Auth/HTTP.php&quot;);
echo 'good';
?&gt;

I only got a blank screen.</pre>]]></content:encoded>
      <description><![CDATA[<pre>Auth_HTTP Bug
Reported by dfeng
2017-02-23T14:56:46+00:00
PHP: HEAD SVN-2017-02-23 OS: Ubuntu 16.04 Package Version: 2.1.8

Description:
------------
My php version is 7.0-fpm, I've installed the newest HTTP_AUTH 
but failed to excite a simple script:
&lt;?php
// example of Auth_HTTP basic implementation 

require_once(&quot;Auth/HTTP.php&quot;);
echo 'good';
?&gt;

I only got a blank screen.</pre>]]></description>
      <dc:date>2017-02-23T14:56:46+00:00</dc:date>
      <dc:creator>david &amp;#x64;&amp;#111;&amp;#x74; feng &amp;#x61;&amp;#116; xflying &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>Auth_HTTP Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/20562">
      <title>Auth_HTTP: Documentation Problem 20562 [Open] array</title>
      <link>http://pear.php.net/bugs/20562</link>
      <content:encoded><![CDATA[<pre>Auth_HTTP Documentation Problem
Reported by nebios
2015-06-12T16:52:12+00:00
PHP: 5.6.8 OS: inux Package Version: Unknown

Description:
------------
array()
~0000x8

--25
-+25
closed host 

Test script:
---------------
array()
~0000x8

--25
-+25
closed host 

Expected result:
----------------
+50 buf size
-+50 not call array()

Actual result:
--------------
array()
~0000x8 
$files ();
sql not--5</pre>]]></content:encoded>
      <description><![CDATA[<pre>Auth_HTTP Documentation Problem
Reported by nebios
2015-06-12T16:52:12+00:00
PHP: 5.6.8 OS: inux Package Version: Unknown

Description:
------------
array()
~0000x8

--25
-+25
closed host 

Test script:
---------------
array()
~0000x8

--25
-+25
closed host 

Expected result:
----------------
+50 buf size
-+50 not call array()

Actual result:
--------------
array()
~0000x8 
$files ();
sql not--5</pre>]]></description>
      <dc:date>2015-06-12T16:52:12+00:00</dc:date>
      <dc:creator>nebios &amp;#x61;&amp;#116; live &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>Auth_HTTP Documentation Problem</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/20006">
      <title>Auth_HTTP: Bug 20006 [Open] PHP_INI_ALL</title>
      <link>http://pear.php.net/bugs/20006</link>
      <content:encoded><![CDATA[<pre>Auth_HTTP Bug
Reported by mbi
2013-07-10T23:42:58+00:00
PHP: 5.4.17 OS: Runtime Configuration Package Version: 2.1.8

Description:
------------
PHP_INI_PERDIR: php.ini, .htaccess, httpd.conf or .user.ini
PHP_INI_SYSTEM: httpd.conf

Test script:
---------------
&lt;?php
error_reporting  (E_ALL);
ini_set ('display_errors', true);
include('./test_file.php');
?&gt;

Expected result:
----------------
&lt;ul class=&quot;hmenu&quot;&gt;
&lt;li class=&quot;active&quot;&gt;&lt;a href=&quot;ABOUT-US/&quot; target=&quot;_self&quot; 
title=&quot;ABOUT US&quot;&gt;ABOUT US&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;ROOMS/&quot; target=&quot;_self&quot; 
title=&quot;ROOMS&quot;&gt;ROOMS&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;RESERVATIONS/&quot; target=&quot;_self&quot; 
title=&quot;RESERVATIONS&quot;&gt;RESERVATIONS&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;NEWS-1/&quot; target=&quot;_self&quot; 
title=&quot;NEWS&quot;&gt;NEWS&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;GALLERY/&quot; target=&quot;_self&quot; 
title=&quot;GALLERY&quot;&gt;GALLERY&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;CONTACTS/&quot; target=&quot;_self&quot; 
title=&quot;CONTACTS&quot;&gt;CONTACTS&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div id=&quot;wb_element_instance1&quot; class=&quot;wb_element&quot; 
style=&quot;left: 28px; top: 1px; width: 216px; height: 103px; min-
width: 216px; min-height: 103px; z-index: 80;&quot;&gt;&lt;div 
style=&quot;background: #6e236b; border: 0px solid #000000; 
opacity: 0.8; border-radius: 6px 6px 6px 6px; -moz-border-
radius: 6px 6px 6px 6px; -webkit-border-radius: 6px 6px 6px 
6px; width: 216px; height: 103px;&quot;&gt;&lt;/div&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;vbox wb_container&quot; id=&quot;wb_main&quot; style=&quot;height: 
395px; background: #f6f6f6 none repeat scroll left top; 
padding: 0 0 50px 0;&quot;&gt;
	
&lt;div id=&quot;wb_element_instance2&quot; class=&quot;wb_element&quot; 
style=&quot;left: 672px; top: 37px; width: 276px; height: 358px; 
min-width: 276px; min-height: 358px; z-index: 80;&quot;&gt;&lt;div 
style=&quot;background: #ffffff; border: 3px solid #bfb5c4; 
opacity: 1; border-radius: 10px; -webkit-border-radius: 10px; 
-moz-border-radius: 10px; width: 270px; height: 352px;&quot;&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;div id=&quot;wb_element_instance4&quot; class=&quot;wb_element&quot; 
style=&quot;left: 28px; top: 288px; width: 98px; height: 98px; min-
width: 98px; min-height: 98px; z-index: 57;&quot;&gt;&lt;img alt=&quot;&quot; 
src=&quot;gallery/g1_98x98.jpg&quot; style=&quot;width: 98px; height: 
98px;&quot;&gt;&lt;/div&gt;
&lt;div id=&quot;wb_element_instance5&quot; class=&quot;wb_element&quot; 
style=&quot;left: 154px; top: 288px; width: 98px; height: 98px; 
min-width: 98px; min-height: 98px; z-index: 58;&quot;&gt;&lt;img alt=&quot;&quot; 
src=&quot;gallery/g2_98x98.jpg&quot; style=&quot;width: 98px; height: 
98px;&quot;&gt;&lt;/div&gt;
&lt;div id=&quot;wb_element_instance6&quot; class=&quot;wb_element&quot; 
style=&quot;left: 280px; top: 287px; width: 98px; height: 98px; 
min-width: 98px; min-height: 98px; z-index: 59;&quot;&gt;&lt;img alt=&quot;&quot; 
src=&quot;gallery/g3_98x98.jpg&quot; style=&quot;width: 98px; height: 
98px;&quot;&gt;&lt;/div&gt;
&lt;div id=&quot;wb_element_instance7&quot; class=&quot;wb_element&quot; 
style=&quot;left: 408px; top: 289px; width: 98px; height: 98px; 
min-width: 98px; min-height: 98px; z-index: 60;&quot;&gt;&lt;img alt=&quot;&quot; 
src=&quot;gallery/g4_98x98.jpg&quot; style=&quot;width: 98px; height: 
98px;&quot;&gt;&lt;/div&gt;
&lt;div id=&quot;wb_element_instance8&quot; class=&quot;wb_element&quot; 
style=&quot;left: 536px; top: 288px; width: 98px; height: 98px; 
min-width: 98px; min-height: 98px; z-index: 61;&quot;&gt;&lt;img alt=&quot;&quot; 
src=&quot;gallery/g5_98x98.jpg&quot; style=&quot;width: 98px; height: 
98px;&quot;&gt;&lt;/div&gt;
&lt;div id=&quot;wb_element_instance9&quot; class=&quot;wb_element&quot; 
style=&quot;left: 27px; top: 44px; width: 591px; height: 189px; 
min-width: 591px; min-height: 189px; z-index: 62;  line-
height: normal;&quot;&gt;
&lt;h1 class=&quot;wb-stl-heading1&quot;&gt;Welcome to &quot;Paris&quot; hotel&lt;/h1&gt;

&lt;p class=&quot;wb-stl-normal&quot;&gt;&lt;br&gt;
Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed 
diam nonummy nibh euismod tincidunt ut laoreet dolore 
magna aliquam erat volutpat. Ut wisi enim ad minim veniam, 
quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut 
aliquip ex ea commodo consequat.&lt;/p&gt;

&lt;p class=&quot;wb-stl-normal&quot;&gt;Duis autem vel eum iriure dolor in 
hendrerit in vulputate velit esse molestie consequat, vel illum 
dolore eu feugiat nulla facilisis at vero eros et accumsan et 
iusto odio dignissim qui&lt;/p&gt;
&lt;/div&gt;
&lt;div id=&quot;wb_element_instance10&quot; class=&quot;wb_element&quot; 
style=&quot;left: 25px; top: 244px; width: 164px; height: 29px; 
min-width: 164px; min-height: 29px; z-index: 63;  line-height: 
normal;&quot;&gt;
&lt;h2 class=&quot;wb-stl-heading2&quot;&gt;Gallery&amp;nbsp; &amp;nbsp;&lt;/h2&gt;
&lt;/div&gt;
&lt;div id=&quot;wb_element_instance11&quot; class=&quot;wb_element&quot; 
style=&quot;left: 576px; top: 250px; width: 66px; height: 24px; 
min-width: 66px; min-height: 24px; z-index: 64;  line-height: 
normal;&quot;&gt;
&lt;p class=&quot;wb-stl-normal&quot;&gt;&lt;a data-target=&quot;false&quot; data-title=&quot;&quot; 
data-type=&quot;url&quot; data-url=&quot;2/&quot; href=&quot;2/&quot;&gt;All photos&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;div id=&quot;wb_element_instance12&quot; class=&quot;wb_element&quot; 
style=&quot;left: 700px; top: 72px; width: 218px; height: 293px; 
min-width: 218px; min-height: 293px; z-index: 65;  line-
height: normal;&quot;&gt;
&lt;h2 class=&quot;wb-stl-heading2&quot;&gt;News&lt;/h2&gt;

&lt;p class=&quot;wb-stl-normal&quot;&gt;&lt;br&gt;
2012 08 11&lt;/p&gt;

&lt;p class=&quot;wb-stl-normal&quot;&gt;&lt;a data-target=&quot;false&quot; data-
title=&quot;Les Diasporas Plurielles:: angosso.com - The Plural 
Diasporas here and in The World&quot; data-
type=&quot;www.angosso.com&quot; data-url=&quot;/index3.php/home?&quot; 
href=&quot;/index3.php/ABOUT US&quot;&gt;Lorem ipsum dolor sit amet, 
consectetuer adipiscing elit, sed diam nonummy nibh euismod.
&lt;/a&gt;&lt;/p&gt;</pre>]]></content:encoded>
      <description><![CDATA[<pre>Auth_HTTP Bug
Reported by mbi
2013-07-10T23:42:58+00:00
PHP: 5.4.17 OS: Runtime Configuration Package Version: 2.1.8

Description:
------------
PHP_INI_PERDIR: php.ini, .htaccess, httpd.conf or .user.ini
PHP_INI_SYSTEM: httpd.conf

Test script:
---------------
&lt;?php
error_reporting  (E_ALL);
ini_set ('display_errors', true);
include('./test_file.php');
?&gt;

Expected result:
----------------
&lt;ul class=&quot;hmenu&quot;&gt;
&lt;li class=&quot;active&quot;&gt;&lt;a href=&quot;ABOUT-US/&quot; target=&quot;_self&quot; 
title=&quot;ABOUT US&quot;&gt;ABOUT US&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;ROOMS/&quot; target=&quot;_self&quot; 
title=&quot;ROOMS&quot;&gt;ROOMS&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;RESERVATIONS/&quot; target=&quot;_self&quot; 
title=&quot;RESERVATIONS&quot;&gt;RESERVATIONS&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;NEWS-1/&quot; target=&quot;_self&quot; 
title=&quot;NEWS&quot;&gt;NEWS&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;GALLERY/&quot; target=&quot;_self&quot; 
title=&quot;GALLERY&quot;&gt;GALLERY&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;CONTACTS/&quot; target=&quot;_self&quot; 
title=&quot;CONTACTS&quot;&gt;CONTACTS&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div id=&quot;wb_element_instance1&quot; class=&quot;wb_element&quot; 
style=&quot;left: 28px; top: 1px; width: 216px; height: 103px; min-
width: 216px; min-height: 103px; z-index: 80;&quot;&gt;&lt;div 
style=&quot;background: #6e236b; border: 0px solid #000000; 
opacity: 0.8; border-radius: 6px 6px 6px 6px; -moz-border-
radius: 6px 6px 6px 6px; -webkit-border-radius: 6px 6px 6px 
6px; width: 216px; height: 103px;&quot;&gt;&lt;/div&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;vbox wb_container&quot; id=&quot;wb_main&quot; style=&quot;height: 
395px; background: #f6f6f6 none repeat scroll left top; 
padding: 0 0 50px 0;&quot;&gt;
	
&lt;div id=&quot;wb_element_instance2&quot; class=&quot;wb_element&quot; 
style=&quot;left: 672px; top: 37px; width: 276px; height: 358px; 
min-width: 276px; min-height: 358px; z-index: 80;&quot;&gt;&lt;div 
style=&quot;background: #ffffff; border: 3px solid #bfb5c4; 
opacity: 1; border-radius: 10px; -webkit-border-radius: 10px; 
-moz-border-radius: 10px; width: 270px; height: 352px;&quot;&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;div id=&quot;wb_element_instance4&quot; class=&quot;wb_element&quot; 
style=&quot;left: 28px; top: 288px; width: 98px; height: 98px; min-
width: 98px; min-height: 98px; z-index: 57;&quot;&gt;&lt;img alt=&quot;&quot; 
src=&quot;gallery/g1_98x98.jpg&quot; style=&quot;width: 98px; height: 
98px;&quot;&gt;&lt;/div&gt;
&lt;div id=&quot;wb_element_instance5&quot; class=&quot;wb_element&quot; 
style=&quot;left: 154px; top: 288px; width: 98px; height: 98px; 
min-width: 98px; min-height: 98px; z-index: 58;&quot;&gt;&lt;img alt=&quot;&quot; 
src=&quot;gallery/g2_98x98.jpg&quot; style=&quot;width: 98px; height: 
98px;&quot;&gt;&lt;/div&gt;
&lt;div id=&quot;wb_element_instance6&quot; class=&quot;wb_element&quot; 
style=&quot;left: 280px; top: 287px; width: 98px; height: 98px; 
min-width: 98px; min-height: 98px; z-index: 59;&quot;&gt;&lt;img alt=&quot;&quot; 
src=&quot;gallery/g3_98x98.jpg&quot; style=&quot;width: 98px; height: 
98px;&quot;&gt;&lt;/div&gt;
&lt;div id=&quot;wb_element_instance7&quot; class=&quot;wb_element&quot; 
style=&quot;left: 408px; top: 289px; width: 98px; height: 98px; 
min-width: 98px; min-height: 98px; z-index: 60;&quot;&gt;&lt;img alt=&quot;&quot; 
src=&quot;gallery/g4_98x98.jpg&quot; style=&quot;width: 98px; height: 
98px;&quot;&gt;&lt;/div&gt;
&lt;div id=&quot;wb_element_instance8&quot; class=&quot;wb_element&quot; 
style=&quot;left: 536px; top: 288px; width: 98px; height: 98px; 
min-width: 98px; min-height: 98px; z-index: 61;&quot;&gt;&lt;img alt=&quot;&quot; 
src=&quot;gallery/g5_98x98.jpg&quot; style=&quot;width: 98px; height: 
98px;&quot;&gt;&lt;/div&gt;
&lt;div id=&quot;wb_element_instance9&quot; class=&quot;wb_element&quot; 
style=&quot;left: 27px; top: 44px; width: 591px; height: 189px; 
min-width: 591px; min-height: 189px; z-index: 62;  line-
height: normal;&quot;&gt;
&lt;h1 class=&quot;wb-stl-heading1&quot;&gt;Welcome to &quot;Paris&quot; hotel&lt;/h1&gt;

&lt;p class=&quot;wb-stl-normal&quot;&gt;&lt;br&gt;
Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed 
diam nonummy nibh euismod tincidunt ut laoreet dolore 
magna aliquam erat volutpat. Ut wisi enim ad minim veniam, 
quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut 
aliquip ex ea commodo consequat.&lt;/p&gt;

&lt;p class=&quot;wb-stl-normal&quot;&gt;Duis autem vel eum iriure dolor in 
hendrerit in vulputate velit esse molestie consequat, vel illum 
dolore eu feugiat nulla facilisis at vero eros et accumsan et 
iusto odio dignissim qui&lt;/p&gt;
&lt;/div&gt;
&lt;div id=&quot;wb_element_instance10&quot; class=&quot;wb_element&quot; 
style=&quot;left: 25px; top: 244px; width: 164px; height: 29px; 
min-width: 164px; min-height: 29px; z-index: 63;  line-height: 
normal;&quot;&gt;
&lt;h2 class=&quot;wb-stl-heading2&quot;&gt;Gallery&amp;nbsp; &amp;nbsp;&lt;/h2&gt;
&lt;/div&gt;
&lt;div id=&quot;wb_element_instance11&quot; class=&quot;wb_element&quot; 
style=&quot;left: 576px; top: 250px; width: 66px; height: 24px; 
min-width: 66px; min-height: 24px; z-index: 64;  line-height: 
normal;&quot;&gt;
&lt;p class=&quot;wb-stl-normal&quot;&gt;&lt;a data-target=&quot;false&quot; data-title=&quot;&quot; 
data-type=&quot;url&quot; data-url=&quot;2/&quot; href=&quot;2/&quot;&gt;All photos&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;div id=&quot;wb_element_instance12&quot; class=&quot;wb_element&quot; 
style=&quot;left: 700px; top: 72px; width: 218px; height: 293px; 
min-width: 218px; min-height: 293px; z-index: 65;  line-
height: normal;&quot;&gt;
&lt;h2 class=&quot;wb-stl-heading2&quot;&gt;News&lt;/h2&gt;

&lt;p class=&quot;wb-stl-normal&quot;&gt;&lt;br&gt;
2012 08 11&lt;/p&gt;

&lt;p class=&quot;wb-stl-normal&quot;&gt;&lt;a data-target=&quot;false&quot; data-
title=&quot;Les Diasporas Plurielles:: angosso.com - The Plural 
Diasporas here and in The World&quot; data-
type=&quot;www.angosso.com&quot; data-url=&quot;/index3.php/home?&quot; 
href=&quot;/index3.php/ABOUT US&quot;&gt;Lorem ipsum dolor sit amet, 
consectetuer adipiscing elit, sed diam nonummy nibh euismod.
&lt;/a&gt;&lt;/p&gt;</pre>]]></description>
      <dc:date>2013-07-10T23:42:58+00:00</dc:date>
      <dc:creator>admin &amp;#x61;&amp;#116; angosso &amp;#x64;&amp;#111;&amp;#x74; net</dc:creator>
      <dc:subject>Auth_HTTP Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/19800">
      <title>Auth_HTTP: Bug 19800 [Open] An error in the function Auth_Container_RADIUS ($ options)</title>
      <link>http://pear.php.net/bugs/19800</link>
      <content:encoded><![CDATA[<pre>Auth_HTTP Bug
Reported by dmitry_mass
2013-01-28T00:48:35+00:00
PHP: 5.4.10 OS: freebsd 9.1 Package Version: 2.1.8

Description:
------------
require_once(&quot;Auth/HTTP.php&quot;);
require_once 'Auth/RADIUS.php';
require_once 'Crypt/CHAP.php';

$aro = array (
       'servers' =&gt; array(
                            'host'=&gt;&quot;192.168.250.5&quot;, 
                            'port'=&gt;0, 
                            'sharedsecret'=&gt;&quot;FreeBSD91&quot;), 
       'authtype'=&gt; &quot;MSCHAPv1&quot;,
        );

echo &quot;main func\n&quot;; var_dump($aro);

$a = new Auth_HTTP(&quot;RADIUS&quot;, $aro);

$a-&gt;setRealm('Site AZS');            // realm name
$a-&gt;setCancelText('&lt;h2&gt;Error 401&lt;/h2&gt;');        // error message if authentication fails
echo 'start func';
$a-&gt;start();                    // starting the authentication process

echo 'get func';
if($a-&gt;getAuth())                // checking for autenticated user 
{
    echo &quot;Hello $a-&gt;username welcome to my secret page&quot;;
    
};


Expected result:
----------------
       $servers = $options['servers'];
        if (is_array($servers)) {
            foreach ($servers as $server) {
                $servername     = $server[0];
                $port           = isset($server[1]) ? $server[1] : 0;
                $sharedsecret   = isset($server[2]) ? $server[2] : 'testing123';
                $timeout        = isset($server[3]) ? $server[3] : 3;
                $maxtries       = isset($server[4]) ? $server[4] : 3;
                $this-&gt;radius-&gt;addServer($servername, $port, $sharedsecret, $timeout, $maxtries);
            }
        }

        if (!$this-&gt;radius-&gt;start()) {
            PEAR::raiseError($this-&gt;radius-&gt;getError(), 41, PEAR_ERROR_DIE);
        }
    }


Actual result:
--------------
PHP Warning:  radius_add_server() expects parameter 5 to be long, string given in /usr/local/share/pear/Auth/RADIUS.php on line 320
PHP Stack trace:
PHP   1. {main}() /usr/local/www/azs/auth_http_ex1.php:0
PHP   2. Auth-&gt;start() /usr/local/www/azs/auth_http_ex1.php:36
PHP   3. Auth_HTTP-&gt;login() /usr/local/share/pear/Auth.php:528
PHP   4. Auth-&gt;_loadStorage() /usr/local/share/pear/Auth/HTTP.php:356
PHP   5. Auth-&gt;_factory() /usr/local/share/pear/Auth.php:445
PHP   6. Auth_Container_RADIUS-&gt;Auth_Container_RADIUS() /usr/local/share/pear/Auth.php:469
PHP   7. Auth_RADIUS-&gt;start() /usr/local/share/pear/Auth/Container/RADIUS.php:112
PHP   8. Auth_RADIUS-&gt;putServer() /usr/local/share/pear/Auth/RADIUS.php:355
PHP   9. radius_add_server() /usr/local/share/pear/Auth/RADIUS.php:320</pre>]]></content:encoded>
      <description><![CDATA[<pre>Auth_HTTP Bug
Reported by dmitry_mass
2013-01-28T00:48:35+00:00
PHP: 5.4.10 OS: freebsd 9.1 Package Version: 2.1.8

Description:
------------
require_once(&quot;Auth/HTTP.php&quot;);
require_once 'Auth/RADIUS.php';
require_once 'Crypt/CHAP.php';

$aro = array (
       'servers' =&gt; array(
                            'host'=&gt;&quot;192.168.250.5&quot;, 
                            'port'=&gt;0, 
                            'sharedsecret'=&gt;&quot;FreeBSD91&quot;), 
       'authtype'=&gt; &quot;MSCHAPv1&quot;,
        );

echo &quot;main func\n&quot;; var_dump($aro);

$a = new Auth_HTTP(&quot;RADIUS&quot;, $aro);

$a-&gt;setRealm('Site AZS');            // realm name
$a-&gt;setCancelText('&lt;h2&gt;Error 401&lt;/h2&gt;');        // error message if authentication fails
echo 'start func';
$a-&gt;start();                    // starting the authentication process

echo 'get func';
if($a-&gt;getAuth())                // checking for autenticated user 
{
    echo &quot;Hello $a-&gt;username welcome to my secret page&quot;;
    
};


Expected result:
----------------
       $servers = $options['servers'];
        if (is_array($servers)) {
            foreach ($servers as $server) {
                $servername     = $server[0];
                $port           = isset($server[1]) ? $server[1] : 0;
                $sharedsecret   = isset($server[2]) ? $server[2] : 'testing123';
                $timeout        = isset($server[3]) ? $server[3] : 3;
                $maxtries       = isset($server[4]) ? $server[4] : 3;
                $this-&gt;radius-&gt;addServer($servername, $port, $sharedsecret, $timeout, $maxtries);
            }
        }

        if (!$this-&gt;radius-&gt;start()) {
            PEAR::raiseError($this-&gt;radius-&gt;getError(), 41, PEAR_ERROR_DIE);
        }
    }


Actual result:
--------------
PHP Warning:  radius_add_server() expects parameter 5 to be long, string given in /usr/local/share/pear/Auth/RADIUS.php on line 320
PHP Stack trace:
PHP   1. {main}() /usr/local/www/azs/auth_http_ex1.php:0
PHP   2. Auth-&gt;start() /usr/local/www/azs/auth_http_ex1.php:36
PHP   3. Auth_HTTP-&gt;login() /usr/local/share/pear/Auth.php:528
PHP   4. Auth-&gt;_loadStorage() /usr/local/share/pear/Auth/HTTP.php:356
PHP   5. Auth-&gt;_factory() /usr/local/share/pear/Auth.php:445
PHP   6. Auth_Container_RADIUS-&gt;Auth_Container_RADIUS() /usr/local/share/pear/Auth.php:469
PHP   7. Auth_RADIUS-&gt;start() /usr/local/share/pear/Auth/Container/RADIUS.php:112
PHP   8. Auth_RADIUS-&gt;putServer() /usr/local/share/pear/Auth/RADIUS.php:355
PHP   9. radius_add_server() /usr/local/share/pear/Auth/RADIUS.php:320</pre>]]></description>
      <dc:date>2013-01-28T00:48:35+00:00</dc:date>
      <dc:creator>d_i_m &amp;#x61;&amp;#116; ukr &amp;#x64;&amp;#111;&amp;#x74; net</dc:creator>
      <dc:subject>Auth_HTTP Bug</dc:subject>
    </item>
</rdf:RDF>
