Skip to content
Snippets Groups Projects
Commit bfb0e0fd authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

removed absolute FQDN

parent 68324caa
No related branches found
No related tags found
No related merge requests found
......@@ -528,7 +528,7 @@ class ProxyController extends Controller
// Build the url
$targetUrl = $parts["scheme"] . "://" .
((!empty($parts["user"]) && !empty($parts["pass"])) ? $parts["user"] . ":" . $parts["pass"] . "@" : "") .
rtrim($parts["host"], ".") . "." .
rtrim($parts["host"], ".") .
(!empty($parts["port"]) ? ":" . $parts["port"] : "") .
(!empty($sanitizedPath) ? $sanitizedPath : "") .
(!empty($parts["query"]) ? "?" . $parts["query"] : "") .
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment