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

Changed Proxy Url to proxy.metager.de

parent 3e39ab0a
Branches
No related tags found
1 merge request!1450Development
......@@ -366,19 +366,7 @@ class Result
$proxyUrl = base64_encode(str_rot13($link));
$proxyUrl = urlencode(str_replace("/", "<<SLASH>>", $proxyUrl));
return "https://proxy.suma-ev.de/" . $pw . "/" . $proxyUrl;
/*
$tmp = $link;
$tmp = preg_replace("/\r?\n$/s", "", $tmp);
$tmp = str_replace("=", "=3d", $tmp);
$tmp = str_replace("?", "=3f", $tmp);
$tmp = str_replace("%", "=25", $tmp);
$tmp = str_replace("&", "=26", $tmp);
$tmp = str_replace(";", "=3b", $tmp);
$tmp = preg_replace("#^([\w+.-]+)://#s", "$1/", $tmp);
$tmp = str_replace("//", "/=2f", $tmp);
return "https://proxy.suma-ev.de/mger/nph-proxy.cgi/en/w0/" . $tmp;
*/
return "https://proxy.metager.de/" . $pw . "/" . $proxyUrl;
}
/* Liest aus einer URL alle Informationen aus
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment