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

Bug #760 error msg should not have html chars
Submitted: 2004-02-15 19:35 UTC
From: maka3d at yahoo dot com dot br Assigned: antonio
Status: Closed Package: HTTP_Upload
PHP Version: Irrelevant OS: irrelevant
Roadmaps: (Not assigned)    
Subscription  


 [2004-02-15 19:35 UTC] maka3d at yahoo dot com dot br
Description: ------------ Error codes have html special chars inside. The package should not target only HTML. A variavel option may be added to choose between get the message with or without those codes. at line 202 of function errorCode the code $msg = $this->error_codes[$e_code][$this->lang]; should be $msg = $this->decodeHtmlEntities ? html_entity_decode($this->error_codes[$e_code][$this->lang]) : $this->error_codes[$e_code][$this->lang]; where $this->decodeHtmlEntities is a propertie with false as default to BC.

Comments

 [2004-02-17 00:23 UTC] pear-dev at mocsnik dot hu
 [2004-03-03 12:21 UTC] gurugeek
I worked on an initial verification. The bug report/ suggestion seems to be appropriate. The provided path should work fine.
 [2004-05-28 18:27 UTC] antonio
This bug has been fixed in CVS. In case this was a documentation problem, the fix will show up at the end of next Sunday (CET) on pear.php.net. In case this was a pear.php.net website problem, the change will show up on the website in short time. Thank you for the report, and for helping us make PEAR better. http://cvs.php.net/co.php/pear/HTTP_Upload/Upload.php?r=1.28