Bug #6221 [NEW]: HTML_Common::updateAttributes

From: Date: Sun, 11 Dec 2005 14:39:22 +0000
Subject: Bug #6221 [NEW]: HTML_Common::updateAttributes
Groups: php.pear.webmaster 
Request: Send a blank email to pear-webmaster+get-4659@lists.php.net to get a copy of this message
From: adriano dot php4 at gmail dot com Operating system: Windows XP Home PHP version: Irrelevant Package: Bug System Bug Type: Bug Bug description: HTML_Common::updateAttributes Description: ------------ Hello, I am having a problem with the method updateAttributes, of the HTML_Common. When I use it in the HTML_QuickForm to modify the parameter action for something as "arq.php?action=I&t=4", seems that it applies the function htmlentities, and back in the form leaves thus: "arq.php?action=I&amp;t=4". Exists some way to use this method without it to apply htmlentities? Grateful, Adriano Test script: --------------- $form->updateAttributes("action='?".$_SERVER["QUERY_STRING"]."'"); Expected result: ---------------- <form action="?modulo=usuarios&acao=alterar&TxtID=15" Actual result: -------------- <form action="?modulo=usuarios&amp;acao=alterar&amp;TxtID=15" -- Edit bug report at http://pear.php.net/bugs/bug.php?id=6221&edit=1 --

« previous php.pear.webmaster (#4659) next »