[PEAR-BUG] Bug #20415 [Com]: Special chars in url
[email protected] ("biermann") Thu, 25 Jun 2015 13:39:36 +0100 (BST)
| Newsgroups | php.pear.bugs |
|---|---|
| Message-ID | <[email protected]> |
Edit report at http://pear.php.net/bugs/bug.php?id=20415&edit=1
ID: 20415
Comment by: biermann
Reported By: dietrich dot trepnau at st dot ovgu dot de
Summary: Special chars in url
Status: Open
Type: Bug
Package: HTML_BBCodeParser2
Package Version: 0.1.0
PHP Version: Irrelevant
New Comment:
Cannot confirm this. I get the expected result for the link
http://hu.wikipedia.org/wiki/Góliát_(képregény)
Previous Comments:
------------------------------------------------------------------------
[2014-09-21 20:57:39] dolphinet
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->setText($text);
$parser->parse();
echo $parser->getParsed();
Expected result:
----------------
<a href="http://hu.wikipedia.org/wiki/Góliát_(képregény)"
target="_blank">wikipédia</a>
Actual result:
--------------
<a href="" target="_blank">wikipédia</a>
------------------------------------------------------------------------
--
Edit this bug report at http://pear.php.net/bugs/bug.php?id=20415&edit=1