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

Bug #4103 Wrong URLs in Form-Actions
Submitted: 2005-04-08 08:27 UTC Modified: 2006-12-24 16:13 UTC
From: eckhard dot pruehs at snap dot de Assigned: alan_k
Status: Closed Package: HTML_Template_Flexy
PHP Version: 5.0.3 OS: All
Roadmaps: (Not assigned)    
Subscription  


 [2005-04-08 08:27 UTC] eckhard dot pruehs at snap dot de
Description: ------------ If you assign an URL (inluding aparameters) to a action-attribute of a form: $this->elements['my_form']->attributes['action'] = 'index.php?test1=1&test2=2; you will get a wrong formatted URL in your executed web page: index.php?test1=1&test2=2 Reason is statement in the function "attributesToHTML": $strAttr .= ' ' . $key . '="' . htmlspecialchars($value) . '"';

Comments

 [2005-04-13 03:31 UTC] alan_k
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.