PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

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) . '"';