diff --git a/app/Models/Result.php b/app/Models/Result.php
index bc29ff9bda3b234e4eba34dbcd7d8f7f6f4302d4..fe79f400434959a0faec2491274a92ff99cf4219 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;
 
     }