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.
1 parent 151e824 commit 5cb6c28Copy full SHA for 5cb6c28
src/functions.php
@@ -63,7 +63,7 @@ function resolveUri(UriInterface $base, UriInterface $uri): UriInterface
63
64
function isHttp(string $uri): bool
65
{
66
- return (bool) preg_match('#^(https?:|\.|/)#', $src);
+ return (bool) preg_match('#^(https?:|\.|/)#', $uri);
67
}
68
69
function resolvePath(string $base, string $path): string
0 commit comments