Skip to content

Commit

Permalink
Revert "Bug: 14148 Don't convert html special entities in form action."
Browse files Browse the repository at this point in the history
This reverts commit 9cc5cb3.
  • Loading branch information
mrubinsk committed Nov 2, 2015
1 parent 0deaadc commit 3dde111
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions framework/Form/lib/Horde/Form/Renderer.php
Expand Up @@ -105,6 +105,7 @@ function open($action, $method, $name, $enctype = null)
{
$this->_name = $name;
$name = htmlspecialchars($name);
$action = htmlspecialchars($action);
$method = htmlspecialchars($method);
echo "<form action=\"$action\" method=\"$method\"" . (empty($name) ? '' : " name=\"$name\" id=\"$name\"") . (is_null($enctype) ? '' : " enctype=\"$enctype\"") . ">\n";
Horde_Util::pformInput();
Expand Down

0 comments on commit 3dde111

Please sign in to comment.