History log of /dokuwiki/inc/Ip.php (Results 1 – 6 of 6)
Revision Date Author Comments
# 7caad012 04-Jun-2025 Andreas Gohr <gohr@cosmocode.de>

extend tests, fix issues with new Ip methods


# 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.


# ced0b55f 09-Jan-2025 Andreas Gohr <andi@splitbrain.org>

Fix Ip tests

We no longer use the old regexp based config, so the tests failed.


# 19d5ba27 09-Jan-2025 Andreas Gohr <andi@splitbrain.org>

rename trustedproxy option to trustedproxies

We use a new format (array instead of regex) and need a sure way to
recognize it. Zebra's approach would not have survived the editing via
config manager

rename trustedproxy option to trustedproxies

We use a new format (array instead of regex) and need a sure way to
recognize it. Zebra's approach would not have survived the editing via
config manager.
As a side effect this also introduces a new languange string, which is
good because the old one did no longer apply.

show more ...


# e449acd0 09-Jan-2025 Andreas Gohr <andi@splitbrain.org>

some small cleanups in Ip class

most importantly do not crash on invalid config


# c7f6b7b7 26-Oct-2022 Zebra North <mrzebra@mrzebra.co.uk>

Move IP functions into a class