Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.1.0

Bug #20415 Special chars in url
Submitted: 2014-09-22 00:57 UTC
From: dolphinet Assigned:
Status: Open Package: HTML_BBCodeParser2 (version 0.1.0)
PHP Version: Irrelevant OS:
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 3 + 1 = ?

 
 [2014-09-22 00:57 UTC] dolphinet (Zoltan Koteles)
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>

Comments

 [2015-06-25 17:37 UTC] biermann (Dietrich Trepnau)
Cannot confirm this. I get the expected result for the link http://hu.wikipedia.org/wiki/Góliát_(képregény)