nextcloud/lib/private/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 +01:00
..
csp Add public API to give developers the possibility to adjust the global CSP defaults 2016-01-28 18:36:46 +01:00
csrf Add new CSRF manager for unit testing purposes 2016-01-25 20:03:40 +01:00
certificate.php Happy new year! 2016-01-12 15:02:18 +01:00
certificatemanager.php Merge pull request #21653 from owncloud/update-license-headers-2016 2016-01-13 08:29:42 +01:00
credentialsmanager.php Update author information 2016-03-01 17:25:15 +01:00
crypto.php Happy new year! 2016-01-12 15:02:18 +01:00
hasher.php Happy new year! 2016-01-12 15:02:18 +01:00
securerandom.php Fix usage of PHP method within namespace 2016-01-14 09:24:21 +01:00
trusteddomainhelper.php Explicitly check for port 2016-03-10 22:32:29 +01:00