aboutsummaryrefslogtreecommitdiff
path: root/ratatoeskr/frontend.php
diff options
context:
space:
mode:
authorKevin Chabowski <kevin@kch42.de>2012-02-03 21:43:54 +0100
committerKevin Chabowski <kevin@kch42.de>2012-02-03 21:43:54 +0100
commit86deada91a275ec1372817603758ab771cfaa417 (patch)
tree73713cdae933e66e9da039d1243c70ecdc0d77d7 /ratatoeskr/frontend.php
parent2c2b3c89f8b69b42220c19a811feb6a7b85e989f (diff)
downloadratatoeskr-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.php2
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>