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

Bugfix?

parent 13612dac
No related branches found
No related tags found
No related merge requests found
......@@ -16,7 +16,6 @@ class ProxyController extends Controller
{
$targetUrl = str_replace("<<SLASH>>", "/", $url);
$targetUrl = str_rot13(base64_decode($targetUrl));
if (strpos($targetUrl, URL::to('/')) === 0) {
return redirect($targetUrl);
}
......@@ -214,6 +213,10 @@ class ProxyController extends Controller
}
}
if ($result["data"] === false) {
$result["data"] = "";
}
return response($result["data"], $httpcode)
->withHeaders($result["header"]);
......
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