diff options
author | Kevin Chabowski <kevin@kch42.de> | 2012-02-03 21:43:54 +0100 |
---|---|---|
committer | Kevin Chabowski <kevin@kch42.de> | 2012-02-03 21:43:54 +0100 |
commit | 86deada91a275ec1372817603758ab771cfaa417 (patch) | |
tree | 73713cdae933e66e9da039d1243c70ecdc0d77d7 /ratatoeskr/frontend.php | |
parent | 2c2b3c89f8b69b42220c19a811feb6a7b85e989f (diff) | |
download | ratatoeskr-cms-86deada91a275ec1372817603758ab771cfaa417.tar.gz ratatoeskr-cms-86deada91a275ec1372817603758ab771cfaa417.tar.bz2 ratatoeskr-cms-86deada91a275ec1372817603758ab771cfaa417.zip |
TIL: <form />'s method value *MUST* be lowercase.
<irony>That makes kind of sense, since it is written UPPERcase in the
HTTP protocol...</irony>
Diffstat (limited to 'ratatoeskr/frontend.php')
-rw-r--r-- | ratatoeskr/frontend.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ratatoeskr/frontend.php b/ratatoeskr/frontend.php index b89fe3a..5613b3e 100644 --- a/ratatoeskr/frontend.php +++ b/ratatoeskr/frontend.php @@ -433,7 +433,7 @@ $ste->register_tag("comment_form", function($ste, $params, $sub) $token = uniqid("", True); $_SESSION["ratatoeskr_comment_tokens"][$token] = time(); - $form_header = "<form action=\"{$tpl_article["fullurl"]}?comment\" method=\"POST\" accept-charset=\"UTF-8\"><input type=\"hidden\" name=\"comment_token\" value=\"$token\" />"; + $form_header = "<form action=\"{$tpl_article["fullurl"]}?comment\" method=\"post\" accept-charset=\"UTF-8\"><input type=\"hidden\" name=\"comment_token\" value=\"$token\" />"; if($ste->evalbool(@$params["default"])) $form_body = "<p>{$translation["comment_form_name"]}: <input type=\"text\" name=\"author_name\" value=\"" . htmlesc(@$_POST["author_name"]) . "\" /></p> |