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
No related branches found
No related tags found
1 merge request!1450Development
...@@ -366,19 +366,7 @@ class Result ...@@ -366,19 +366,7 @@ class Result
$proxyUrl = base64_encode(str_rot13($link)); $proxyUrl = base64_encode(str_rot13($link));
$proxyUrl = urlencode(str_replace("/", "<<SLASH>>", $proxyUrl)); $proxyUrl = urlencode(str_replace("/", "<<SLASH>>", $proxyUrl));
return "https://proxy.suma-ev.de/" . $pw . "/" . $proxyUrl; return "https://proxy.metager.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;
*/
} }
/* Liest aus einer URL alle Informationen aus /* Liest aus einer URL alle Informationen aus
......
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