From 6a3eac1ab63a9fdf54b03002dd759a3e7ac1b784 Mon Sep 17 00:00:00 2001 From: Dominik Pfennig <dominik@suma-ev.de> Date: Tue, 14 Feb 2017 13:02:35 +0100 Subject: [PATCH] Update Result.php --- app/Models/Result.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/Result.php b/app/Models/Result.php index bc29ff9bd..fe79f4004 100644 --- a/app/Models/Result.php +++ b/app/Models/Result.php @@ -284,8 +284,8 @@ class Result $tmp = str_replace("%", "=25", $tmp); $tmp = str_replace("&", "=26", $tmp); $tmp = str_replace(";", "=3b", $tmp); - $tmp = str_replace("//", "/=2f", $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; } -- GitLab