web: only delete channels, notes, keys and certs on POST
This commit is contained in:
1 parent
9962274521
commit
8dc96ae08c
9 files changed
+124
-10
No files matched your search
+3
-1
@@ -203,7 +203,9 @@ class CNotesMod : public CModule {
|
||||
|
||||
return true;
|
||||
} else if (sPageName == "delnote") {
|
||||
DelNote(WebSock.GetParam("key", false));
|
||||
if (WebSock.IsPost()) {
|
||||
DelNote(WebSock.GetParam("key"));
|
||||
}
|
||||
WebSock.Redirect(GetWebPath());
|
||||
return true;
|
||||
} else if (sPageName == "addnote") {
|
||||
|
||||
Reference in new issue
Block a user