PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » HTML » HTML_Template_Flexy » Bug #4103

Wrong URLs in Form-Actions

Details

Submitted2005-04-08 13:27 UTC
Fromeckhard dot pruehs at snap dot de
Assignedalan_k
StatusClosed
PackageHTML_Template_Flexy
PHP Version5.0.3
OSAll
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) . '"';