Skip to content

Commit 9463d24

Browse files
committed
Allow uppercase
1 parent 5309af1 commit 9463d24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/JavascriptRenderer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ protected function makeUriRelativeTo($uri, $root)
121121
return $uris;
122122
}
123123

124-
if (substr($uri, 0, 1) === '/' || preg_match('/^([a-z]+:\/\/|[a-zA-Z]:\/|[a-zA-Z]:\\\)/', $uri)) {
124+
if (substr($uri, 0, 1) === '/' || preg_match('/^([a-zA-Z]+:\/\/|[a-zA-Z]:\/|[a-zA-Z]:\\\)/', $uri)) {
125125
return $uri;
126126
}
127127
return rtrim($root, '/') . "/$uri";

0 commit comments

Comments
 (0)