[web-wiki] master: Add `baseurl` to prevent host spoofing attacks
| From: | Nico Oelgart via Niklas Keller | Date: | Tue, 07 Mar 2023 10:56:29 +0000 |
| Subject: | [web-wiki] master: Add `baseurl` to prevent host spoofing attacks | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-30790@lists.php.net to get a copy of this message | ||
Author: Nico Oelgart (nicoSWD)
Committer: Niklas Keller (kelunik)
Date: 2023-03-07T11:43:21+01:00
Commit: https://github.com/php/web-wiki/commit/6a15bde84ea6a9fb4ab9c9a64477c011b3d886e4
Raw diff: https://github.com/php/web-wiki/commit/6a15bde84ea6a9fb4ab9c9a64477c011b3d886e4.diff
Add
baseurl to prevent host spoofing attacks
Changed paths:
M dokuwiki/conf/local.php
Diff:
diff --git a/dokuwiki/conf/local.php b/dokuwiki/conf/local.php
index 8f22b81d..a8035077 100755
--- a/dokuwiki/conf/local.php
+++ b/dokuwiki/conf/local.php
@@ -24,5 +24,6 @@
$conf['send404'] = 1;
$conf['breadcrumbs'] = 0;
$conf['youarehere'] = 1;
+$conf['baseurl'] = 'https://wiki.php.net';
// end auto-generated content