diff options
author | Lukas Reschke <lukas@owncloud.com> | 2015-12-08 08:50:00 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2015-12-08 08:50:00 +0100 |
commit | 8289943a0f474d0bca6504b5e7a09491c3f22987 (patch) | |
tree | 821cc0151535191b1250d8c028f8018cdca3ce3e /tests | |
parent | 451ba4ddaa31b90f0743641e748782655cfc83f7 (diff) | |
download | nextcloud-server-8289943a0f474d0bca6504b5e7a09491c3f22987.tar.gz nextcloud-server-8289943a0f474d0bca6504b5e7a09491c3f22987.zip |
Do not trust casting
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/security/trusteddomainhelper.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/lib/security/trusteddomainhelper.php b/tests/lib/security/trusteddomainhelper.php index c8d5ffa587b..52a8f1be630 100644 --- a/tests/lib/security/trusteddomainhelper.php +++ b/tests/lib/security/trusteddomainhelper.php @@ -64,6 +64,8 @@ class TrustedDomainHelperTest extends \Test\TestCase { // do not trust invalid localhosts [$trustedHostTestList, 'localhost:1:2', false], [$trustedHostTestList, 'localhost: evil.host', false], + // do not trust casting + [[1], '1', false], ]; } |