We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3b38c92 + d670087 commit 942d7d7Copy full SHA for 942d7d7
src/Detectors/Redirect.php
@@ -18,7 +18,7 @@ public function detect(): ?UriInterface
18
private function extract(string $value): ?UriInterface
19
{
20
if (preg_match('/url=(.+)$/i', $value, $match)) {
21
- return $this->extractor->resolveUri($match[1]);
+ return $this->extractor->resolveUri(trim($match[1], '\'"'));
22
}
23
24
return null;
0 commit comments