]> source.dussan.org Git - nextcloud-server.git/commit
Trim port from domain
authorLukas Reschke <lukas@owncloud.com>
Wed, 3 Dec 2014 18:54:48 +0000 (19:54 +0100)
committerLukas Reschke <lukas@owncloud.com>
Wed, 3 Dec 2014 18:59:50 +0000 (19:59 +0100)
commit69f5f6649e05dd404aa67fab95c5bb34e9ce4d1f
treee32a952022705582e372ed4fb246172e120404f2
parent8700ffe69809d7551a08f224537650b43add2a59
Trim port from domain

Depending on the used environment the port might be appended to the host header resulting in an inaccessible instance when initially setting up on a system with a different HTTP or HTTPS port. (for example test:500)

To test this setup ownCloud under a different port with and without this patch. (heads-up: localhost is always white-listed, so use a different domain)
lib/private/request.php
lib/private/setup.php
tests/lib/request.php