nextcloud-server/tests/lib/security
Lukas Reschke dc6789fd5b Explicitly check for port
The setup uses `\OCP\IRequest::getInsecureServerHost` which in some cases can also include a port. This makes the trusted domain check fail thus.

I've decided to add this here that way because adjusting the setup would require parsing the host properly. This is not something that can be done very good in PHP. Check the following example for why `parse_url` is not our friend: https://3v4l.org/k501Z
2016-03-10 22:32:29 +07:00
..
csp Add public API to give developers the possibility to adjust the global CSP defaults 2016-01-28 18:36:46 +07:00
csrf Add new CSRF manager for unit testing purposes 2016-01-25 20:03:40 +07:00
certificate.php
certificatemanager.php Allow admins to add system wide root certificates 2016-01-12 12:50:59 +07:00
credentialsmanager.php fix test 2016-01-18 12:08:58 +07:00
crypto.php
hasher.php
securerandom.php
trusteddomainhelper.php Explicitly check for port 2016-03-10 22:32:29 +07:00