| #
10287e99
|
| 25-Jun-2026 |
Andreas Gohr <andi@splitbrain.org> |
Cache: key on resolved base URL instead of the raw Host header
The instruction (.i), render (.xhtml) and metadata cache keys embedded the client-supplied HTTP_HOST and SERVER_PORT, as did the JS and
Cache: key on resolved base URL instead of the raw Host header
The instruction (.i), render (.xhtml) and metadata cache keys embedded the client-supplied HTTP_HOST and SERVER_PORT, as did the JS and CSS dispatchers. A crawler varying the Host header - or a wiki reachable under several names - thus multiplied every cached artifact per host value, growing the cache directory without bound.
Instructions and metadata never embed resolved URLs, so they drop the host component entirely. Rendered output and the JS/CSS bundles key on DOKU_BASE (plus the SSL flag for JS) instead: fixed when baseurl is configured, and only varying for genuine multi-domain canonical setups. Feeds keep host/port keying since their links are always absolute.
This should address the obvious cases mentioned in #4574
show more ...
|
| #
093fe67e
|
| 07-Mar-2026 |
Andreas Gohr <andi@splitbrain.org> |
updated rector and applied it
|
| #
9399c87e
|
| 03-Dec-2025 |
splitbrain <86426+splitbrain@users.noreply.github.com> |
Rector and PHPCS fixes
|
| #
33cb4e01
|
| 03-Jun-2025 |
Andreas Gohr <gohr@cosmocode.de> |
Make is_ssl and baseurl use proper proxy checks
This should not only address #4455 but also ensures that the related headers are only used when they come from a trusted reverse proxy chain.
|
| #
1b2deed9
|
| 15-Sep-2023 |
fiwswe <fiwswe@fwml.de> |
Use str_starts_with/str_ends_with
|
| #
257be26c
|
| 31-Aug-2023 |
Andreas Gohr <andi@splitbrain.org> |
code style: multi statements
|
| #
d4f83172
|
| 31-Aug-2023 |
Andreas Gohr <andi@splitbrain.org> |
code style: line breaks
|
| #
26dfc232
|
| 31-Aug-2023 |
Andreas Gohr <andi@splitbrain.org> |
Rector to rename print to echo calls
|
| #
5a5ec053
|
| 30-Aug-2023 |
Gerrit Uitslag <klapinklapin@gmail.com> |
reformat /lib/exe/ folder
|
| #
d868eb89
|
| 30-Aug-2023 |
Andreas Gohr <andi@splitbrain.org> |
codestyle adjustments: function declaration braces/spaces
|
| #
c1482d1c
|
| 30-Aug-2023 |
Andreas Gohr <andi@splitbrain.org> |
codestyle adjustments: function argument spacing
|
| #
e3c3abf1
|
| 29-Aug-2023 |
Andreas Gohr <andi@splitbrain.org> |
Apply rector fixes to lib/exe
|
| #
b4af56dc
|
| 12-Mar-2023 |
Moritz Raguschat <moritz.raguschat@web.de> |
Do not reminify minified plugin scripts
Adresses point 5) of #3645
|
| #
af28745a
|
| 12-Mar-2023 |
Andreas Gohr <andi@splitbrain.org> |
extracted JS compressor into its own library
This moves our JavaScript compressor into its own composer dependency.
|
| #
aac83cd4
|
| 01-Dec-2019 |
Phy <git@phy25.com> |
PHP8 fix part 4: Trying to access array offset on value of type bool/null
|
| #
5312cb0b
|
| 03-Oct-2019 |
Syntaxseed <825423+syntaxseed@users.noreply.github.com> |
Fix PHP 7.3 deprecations in lib/ directory.
|
| #
8cbc5ee8
|
| 10-Jun-2019 |
Andreas Gohr <andi@splitbrain.org> |
replaced deprecated utf8 functions
For now this uses full qualified namespaces, sensible imports may come later.
|
| #
cbb44eab
|
| 15-Jun-2018 |
Andreas Gohr <andi@splitbrain.org> |
deprecated trigger_event() in favor of a static method on Event
|
| #
d8b49288
|
| 27-Feb-2019 |
Andreas Gohr <andi@splitbrain.org> |
Merge pull request #2689 from splitbrain/refactorCachePSR2
Refactor cache.php to better conform with PSR 2
|
| #
dc7da772
|
| 24-Feb-2019 |
Michael Große <mic.grosse@googlemail.com> |
Use setter instead of deprecate public property
|
| #
923e149a
|
| 15-Feb-2019 |
Michael Große <mic.grosse@googlemail.com> |
Merge branch 'master' into psr2
|
| #
0db5771e
|
| 02-Feb-2019 |
Michael Große <mic.grosse@googlemail.com> |
Refactor cache.php into different files
|
| #
60764596
|
| 12-Dec-2018 |
Andreas Gohr <gohr@cosmocode.de> |
removed unnecessary count
|
| #
f97f7cdc
|
| 04-Dec-2018 |
Csaba Tóth <csaba.toth@i3rendszerhaz.hu> |
php7 fix
php7 syntax fix.
https://forum.dokuwiki.org/thread/15725
https://forum.dokuwiki.org/post/58606
|
| #
d443762b
|
| 27-Jul-2018 |
Andreas Gohr <andi@splitbrain.org> |
deprecated JSON class
JSON is natively supported since years. This makes 2145bd4c56435f829a19aad843172f8ddffbc69b obsolete again.
|