Skip to content

A free, self-hostable news aggregator…

Mark many as read must be a POST action

Marien Fressinaud1e5efc92993f
diff --git a/app/Controllers/entryController.php b/app/Controllers/entryController.php
index ac43587ea..ab66d9198 100755
--- a/app/Controllers/entryController.php
+++ b/app/Controllers/entryController.php
@@ -45,6 +45,10 @@ class FreshRSS_entry_Controller extends Minz_ActionController {
$entryDAO = FreshRSS_Factory::createEntryDao();
if ($id == false) {
+ if (!Minz_Request::isPost()) {
+ return;
+ }
+
if (!$get) {
$entryDAO->markReadEntries ($idMax);
} else {