From: ewinslow Date: Tue, 2 Nov 2010 19:42:14 +0000 (+0000) Subject: Refs #2463: input/form now normalizes the action parameter X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=172bbf136ab45a5c6e4f53f911d9901797bb0020;p=lorea%2Felgg.git Refs #2463: input/form now normalizes the action parameter git-svn-id: http://code.elgg.org/elgg/trunk@7197 36083f99-b078-4883-b0ff-0f9b5a30f544 --- diff --git a/views/default/input/form.php b/views/default/input/form.php index f40d8ad8c..aed7a17bb 100644 --- a/views/default/input/form.php +++ b/views/default/input/form.php @@ -29,7 +29,7 @@ if (isset($vars['internalname'])) { $name = ''; } $body = $vars['body']; -$action = $vars['action']; +$action = elgg_normalize_url($vars['action']); if (isset($vars['enctype'])) { $enctype = $vars['enctype']; } else {