<?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=HTML_BBCodeParser2</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/20966" />
      <rdf:li rdf:resource="http://pear.php.net/bug/20965" />
      <rdf:li rdf:resource="http://pear.php.net/bug/20415" />
      <rdf:li rdf:resource="http://pear.php.net/bug/19844" />

     </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/20966">
      <title>HTML_BBCodeParser2: Feature/Change Request 20966 [Open] Add a nl2br option</title>
      <link>http://pear.php.net/bugs/20966</link>
      <content:encoded><![CDATA[<pre>HTML_BBCodeParser2 Feature/Change Request
Reported by rmilecki
2015-10-15T16:14:24+00:00
PHP: Irrelevant OS: Debian Package Version: 0.1.0

Description:
------------
When writing some post/message in BBCode most users will expect line breaks to be respected. They should be converted to HTML's br element.</pre>]]></content:encoded>
      <description><![CDATA[<pre>HTML_BBCodeParser2 Feature/Change Request
Reported by rmilecki
2015-10-15T16:14:24+00:00
PHP: Irrelevant OS: Debian Package Version: 0.1.0

Description:
------------
When writing some post/message in BBCode most users will expect line breaks to be respected. They should be converted to HTML's br element.</pre>]]></description>
      <dc:date>2015-10-15T16:14:24+00:00</dc:date>
      <dc:creator>zajec5 &amp;#x61;&amp;#116; gmail &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>HTML_BBCodeParser2 Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/20965">
      <title>HTML_BBCodeParser2: Feature/Change Request 20965 [Open] BBCodeParser2 requires putting in main script directory (or main include dir)</title>
      <link>http://pear.php.net/bugs/20965</link>
      <content:encoded><![CDATA[<pre>HTML_BBCodeParser2 Feature/Change Request
Reported by rmilecki
2015-10-14T17:42:10+00:00
PHP: 5.6.13 OS: Debian Package Version: 0.1.0

Description:
------------
I'd like to be able to put BBCodeParser2 directory in some subdirectory of my 
project. Right now this is not possible because include_once will fail.

Test script:
---------------
require_once 'HTML_BBCodeParser2/HTML/BBCodeParser2.php';

Actual result:
--------------
&lt;b&gt;Fatal error&lt;/b&gt;:  Uncaught exception 'InvalidArgumentException' with 
message 'Failed to load filter Basic' in 
/home/user/includes/HTML_BBCodeParser2/HTML/BBCodeParser2.php:215</pre>]]></content:encoded>
      <description><![CDATA[<pre>HTML_BBCodeParser2 Feature/Change Request
Reported by rmilecki
2015-10-14T17:42:10+00:00
PHP: 5.6.13 OS: Debian Package Version: 0.1.0

Description:
------------
I'd like to be able to put BBCodeParser2 directory in some subdirectory of my 
project. Right now this is not possible because include_once will fail.

Test script:
---------------
require_once 'HTML_BBCodeParser2/HTML/BBCodeParser2.php';

Actual result:
--------------
&lt;b&gt;Fatal error&lt;/b&gt;:  Uncaught exception 'InvalidArgumentException' with 
message 'Failed to load filter Basic' in 
/home/user/includes/HTML_BBCodeParser2/HTML/BBCodeParser2.php:215</pre>]]></description>
      <dc:date>2015-10-14T17:42:10+00:00</dc:date>
      <dc:creator>zajec5 &amp;#x61;&amp;#116; gmail &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>HTML_BBCodeParser2 Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/20415">
      <title>HTML_BBCodeParser2: Bug 20415 [Open] Special chars in url</title>
      <link>http://pear.php.net/bugs/20415</link>
      <content:encoded><![CDATA[<pre>HTML_BBCodeParser2 Bug
Reported by dolphinet
2014-09-22T00:57:39+00:00
PHP: Irrelevant OS:  Package Version: 0.1.0

Description:
------------
Can't parse correctly urls that have special characters (example: 
wikipedia links).
http://hu.wikipedia.org/wiki/GÃ³liÃ¡t_(kÃ©pregÃ©ny)

Test script:
---------------
require_once 'HTML/BBCodeParser2.php';

$config  = parse_ini_file('includes/BBCodeParser2.ini', true);
$options = $config['HTML_BBCodeParser2'];

$parser = new HTML_BBCodeParser2($options);
$parser-&gt;setText($text);
$parser-&gt;parse();

echo $parser-&gt;getParsed();

Expected result:
----------------
&lt;a href=&quot;http://hu.wikipedia.org/wiki/GÃ³liÃ¡t_(kÃ©pregÃ©ny)&quot; 
target=&quot;_blank&quot;&gt;wikipÃ©dia&lt;/a&gt;

Actual result:
--------------
&lt;a href=&quot;&quot; target=&quot;_blank&quot;&gt;wikipÃ©dia&lt;/a&gt;</pre>]]></content:encoded>
      <description><![CDATA[<pre>HTML_BBCodeParser2 Bug
Reported by dolphinet
2014-09-22T00:57:39+00:00
PHP: Irrelevant OS:  Package Version: 0.1.0

Description:
------------
Can't parse correctly urls that have special characters (example: 
wikipedia links).
http://hu.wikipedia.org/wiki/GÃ³liÃ¡t_(kÃ©pregÃ©ny)

Test script:
---------------
require_once 'HTML/BBCodeParser2.php';

$config  = parse_ini_file('includes/BBCodeParser2.ini', true);
$options = $config['HTML_BBCodeParser2'];

$parser = new HTML_BBCodeParser2($options);
$parser-&gt;setText($text);
$parser-&gt;parse();

echo $parser-&gt;getParsed();

Expected result:
----------------
&lt;a href=&quot;http://hu.wikipedia.org/wiki/GÃ³liÃ¡t_(kÃ©pregÃ©ny)&quot; 
target=&quot;_blank&quot;&gt;wikipÃ©dia&lt;/a&gt;

Actual result:
--------------
&lt;a href=&quot;&quot; target=&quot;_blank&quot;&gt;wikipÃ©dia&lt;/a&gt;</pre>]]></description>
      <dc:date>2014-09-22T00:57:39+00:00</dc:date>
      <dc:creator>zkoteles &amp;#x61;&amp;#116; gmail &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>HTML_BBCodeParser2 Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/19844">
      <title>HTML_BBCodeParser2: Bug 19844 [Open] Error in url parsing</title>
      <link>http://pear.php.net/bugs/19844</link>
      <content:encoded><![CDATA[<pre>HTML_BBCodeParser2 Bug
Reported by vhome
2013-03-07T01:31:19+00:00
PHP: 5.4.11 OS: centos Package Version: 0.1.0

Description:
------------
Instead of 1 link it give me broken html with 2 links
This also allow to do XSS attacks

Test script:
---------------
Input code:

[url=http://malware.testing.google.test/testing/malware/]Your text to link here...[/url]http://malware.testing.google.test/testing/malware/

Expected result:
----------------
&lt;a 
href='http://malware.testing.google.test/testing/malware/'&gt;Your 
text to link here...
&lt;/a&gt;http://malware.testing.google.test/testing/malware/

Actual result:
--------------
&lt;a 
href='http://malware.testing.google.test/testing/malware/'&gt;Your 
text to link here...&lt;/a&gt;&lt;a 
href='http://malware.testing.google.test/testing/malware/'&gt;http:/
/malware.testing.google.test/testing/malware/&lt;/a&gt;</pre>]]></content:encoded>
      <description><![CDATA[<pre>HTML_BBCodeParser2 Bug
Reported by vhome
2013-03-07T01:31:19+00:00
PHP: 5.4.11 OS: centos Package Version: 0.1.0

Description:
------------
Instead of 1 link it give me broken html with 2 links
This also allow to do XSS attacks

Test script:
---------------
Input code:

[url=http://malware.testing.google.test/testing/malware/]Your text to link here...[/url]http://malware.testing.google.test/testing/malware/

Expected result:
----------------
&lt;a 
href='http://malware.testing.google.test/testing/malware/'&gt;Your 
text to link here...
&lt;/a&gt;http://malware.testing.google.test/testing/malware/

Actual result:
--------------
&lt;a 
href='http://malware.testing.google.test/testing/malware/'&gt;Your 
text to link here...&lt;/a&gt;&lt;a 
href='http://malware.testing.google.test/testing/malware/'&gt;http:/
/malware.testing.google.test/testing/malware/&lt;/a&gt;</pre>]]></description>
      <dc:date>2013-03-07T01:31:19+00:00</dc:date>
      <dc:creator>valeriy-v &amp;#x61;&amp;#116; yandex &amp;#x64;&amp;#111;&amp;#x74; ru</dc:creator>
      <dc:subject>HTML_BBCodeParser2 Bug</dc:subject>
    </item>
</rdf:RDF>
