Commit d670087
authored
Fix for quotation marks in redirect URL
Some websites use quotation marks around the url= query in the meta-refresh tag. Example: https://presse.stuttgart-tourist.de/die-weihnachtsmaerkte-in-der-region-stuttgart
<meta HTTP-EQUIV="refresh" content="0;url='https://presse.stuttgart-tourist.de/die-weihnachtsmaerkte-in-der-region-stuttgart?PageSpeed=noscript'" />
Those have to be trimmed or an error (GuzzleHttp\Psr7\Exception\MalformedUriException: A relative URI must not have a path beginning with a segment containing a colon) is triggered1 parent 3b38c92 commit d670087
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
0 commit comments