Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
open-source
MetaGer
Commits
a3bd6d78
Commit
a3bd6d78
authored
Feb 03, 2017
by
Dominik Hebeler
Browse files
Update Result.php
parent
916c3477
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/Models/Result.php
View file @
a3bd6d78
...
...
@@ -279,8 +279,13 @@ class Result
$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
);
return
"https://proxy.suma-ev.de/
cgi-bin/nph-proxy.cgi
/en/
I
0/"
.
$tmp
;
return
"https://proxy.suma-ev.de/
mger
/en/
w
0/"
.
$tmp
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment