diff options
| author | 2014-09-16 14:23:04 +0200 | |
|---|---|---|
| committer | 2014-09-16 14:23:04 +0200 | |
| commit | 1e5efc92993feddb7916ef675010d0de0e470ac5 (patch) | |
| tree | 6e1988b79ccf37ed6d88d8c1926353f68ed00bd5 /app | |
| parent | 497d3564c8f4638107bfcae6a492bd51e9012b9d (diff) | |
Mark many as read must be a POST action
See https://github.com/marienfressinaud/FreshRSS/issues/599
Diffstat (limited to 'app')
| -rwxr-xr-x | app/Controllers/entryController.php | 4 |
1 files changed, 4 insertions, 0 deletions
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 { |
