Item1844: WebCreateNewTopic needs method=post
Priority: Urgent
Current State: Closed
Released In: 1.0.7
Target Release: patch
Applies To: Extension
Component: NatSkin
Branches:
It's been fixed in core, but not in
NatSkin.
Micha, as it's your plugin, I won't commit anything to it, but here is the patch:
diff --git a/NatSkin/data/System/NatSkinWebCreateNewTopicTemplate.txt b/NatSkin/data/System/NatSkinWebCreateNewTopicTemplate.txt
index d89bf9d..0db4490 100644
--- a/NatSkin/data/System/NatSkinWebCreateNewTopicTemplate.txt
+++ b/NatSkin/data/System/NatSkinWebCreateNewTopicTemplate.txt
@@ -85,7 +85,7 @@
<!-- //formbuttons -->%TMPL:END%
%TMPL:DEF{"formstart"}%<!-- formstart -->
-<form name="newTopicForm" id="newTopicForm" action="%SCRIPTURLPATH{edit}%/%BASEWEB%/">
+<form name="newTopicForm" id="newTopicForm" action="%SCRIPTURLPATH{edit}%/%BASEWEB%/" method="post">
<input type="hidden" name="t" value="%GMTIME{"$epoch"}%" />
<input type="hidden" name="onlynewtopic" value="on" />
<!-- //formstart -->%TMPL:END%
--
OlivierRaginel - 22 Jul 2009
Fixed in
Item8250.
--
MichaelDaum - 20 Aug 2009