[web-wiki] master: Require a login for doing the resource-intensive search action, to ward off bot scrapers
| From: | Derick Rethans | Date: | Wed, 09 Sep 2026 15:35:29 +0000 |
| Subject: | [web-wiki] master: Require a login for doing the resource-intensive search action, to ward off bot scrapers | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-34015@lists.php.net to get a copy of this message | ||
Author: Derick Rethans (derickr)
Date: 2026-09-09T16:35:11+01:00
Commit: https://github.com/php/web-wiki/commit/ded305db66e37910d9e13bd14c93b21654c10edb
Raw diff: https://github.com/php/web-wiki/commit/ded305db66e37910d9e13bd14c93b21654c10edb.diff
Require a login for doing the resource-intensive search action, to ward off bot scrapers
Changed paths:
M dokuwiki/inc/Action/Search.php
Diff:
diff --git a/dokuwiki/inc/Action/Search.php b/dokuwiki/inc/Action/Search.php
index ad79d961..04cbe575 100644
--- a/dokuwiki/inc/Action/Search.php
+++ b/dokuwiki/inc/Action/Search.php
@@ -23,7 +23,7 @@ class Search extends AbstractAction
/** @inheritdoc */
public function minimumPermission()
{
- return AUTH_NONE;
+ return AUTH_EDIT;
}
/**