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

Bug #16463 mbstring.func_overload support
Submitted: 2009-07-23 01:04 UTC
From: gauthierm Assigned: doconnor
Status: Closed Package: Net_IDNA (version CVS)
PHP Version: Irrelevant OS:
Roadmaps: (Not assigned)    
Subscription  


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 : 47 + 25 = ?

 
 [2009-07-23 01:04 UTC] gauthierm (Michael Gauthier)
Description: ------------ Net_IDNA doesn't encode strings correctly if mbstring overloading is enabled. The conversion to the internal USC4 representation uses the overloaded strlen() and this truncates characters from the string. The attached patch fixes the problem and is compatible with or without mbstring function overloading.

Comments

 [2009-07-23 01:05 UTC] gauthierm (Michael Gauthier)
The following patch has been added/updated: Patch Name: net-idna-mbstring-overloading Revision: 1248293150 URL: http://pear.php.net/bugs/patch-display.php?bug=16463&patch=net-idna-mbstring-overloading&revision=1248293150&display=1
 [2009-07-24 10:26 UTC] doconnor (Daniel O'Connor)
-Status: Open +Status: Closed -Assigned To: +Assigned To: doconnor
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.