Commit a3bd6d78 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

Update Result.php

parent 916c3477
...@@ -279,8 +279,13 @@ class Result ...@@ -279,8 +279,13 @@ class Result
$tmp = $link; $tmp = $link;
$tmp = preg_replace("/\r?\n$/s", "", $tmp); $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 = preg_replace("#^([\w+.-]+)://#s", "$1/", $tmp);
return "https://proxy.suma-ev.de/cgi-bin/nph-proxy.cgi/en/I0/" . $tmp; return "https://proxy.suma-ev.de/mger/en/w0/" . $tmp;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment