Home » HTML » HTML_Template_Flexy » Bug #4103
Wrong URLs in Form-Actions
Details
| Submitted | 2005-04-08 13:27 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) |
Comments
[2005-04-08 13: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) . '"';