History log of /dokuwiki/_test/tests/inc/common_clientip.test.php (Results 1 – 11 of 11)
Revision Date Author Comments
# 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.


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

use renamed trustedproxies setting in tests


# 608cdefc 22-Oct-2022 Zebra North <mrzebra@mrzebra.co.uk>

Factor out IP address functions; all proxies must be trusted


# a7580321 01-Sep-2022 Zebra North <mrzebra@mrzebra.co.uk>

Fix clientIP() returning the wrong address


# d70c006d 20-Dec-2021 Andreas Gohr <andi@splitbrain.org>

Merge pull request #3270 from adakaleh/simplify_clientIP

Simplify clientIP() function


# 1c33cec3 04-Feb-2021 Andreas Gohr <andi@splitbrain.org>

add needed type hints for phpunit8

This will break a lot of plugin tests, but can't be avoided


# 3ff73c3c 27-Oct-2020 AdaKaleh <31895292+adakaleh@users.noreply.github.com>

Add IPv6 unit tests


# dbdd6a0c 21-Oct-2019 Phy <git@phy25.com>

clientIP: modify test to assume trusted proxy be included in IP array


# 445b9378 21-Oct-2019 Phy <git@phy25.com>

clientIP: Add tests addressing #2828

We cannot trust any IP not included in $conf['trustedproxy'].


# 050f8f4d 01-May-2012 Andreas Gohr <andi@splitbrain.org>

removed unecessary requiresin unit tests


# f8369d7d 18-Apr-2012 Tobias Sarnowski <sarnowski@cosmocode.de>

moved _testing to _test