fix unnecessary idn encoding

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p)
2016-11-04 18:28:32 +01:00
parent c409d8a6ba
commit d6b56262ce
2 changed files with 2 additions and 2 deletions

View File

@@ -456,7 +456,7 @@ class nginx extends HttpConfigBase
// if the documentroot is an URL we just redirect
if (preg_match('/^https?\:\/\//', $domain['documentroot'])) {
$uri = $this->idnaConvert->encode_uri($domain['documentroot']);
$uri = $domain['documentroot'];
if (substr($uri, - 1) == '/') {
$uri = substr($uri, 0, - 1);
}