Bug #20415 [Com]: Special chars in url

From: Date: Thu, 25 Jun 2015 12:39:36 +0000
Subject: Bug #20415 [Com]: Special chars in url
References: 1  Groups: php.pear.bugs 
Request: Send a blank email to pear-bugs+get-11276@lists.php.net to get a copy of this message
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

« previous php.pear.bugs (#11276) next »