]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Refs #2463: input/form now normalizes the action parameter
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>
Tue, 2 Nov 2010 19:42:14 +0000 (19:42 +0000)
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>
Tue, 2 Nov 2010 19:42:14 +0000 (19:42 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@7197 36083f99-b078-4883-b0ff-0f9b5a30f544

views/default/input/form.php

index f40d8ad8cb051f0acf6a55966863ae7caabb4b99..aed7a17bb7ef00312600c14d73887f0dd791a536 100644 (file)
@@ -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 {