Skip to content

Commit b0cd7cf

Browse files
committed
Convert static file path extension to lowercase
1 parent d4e71e5 commit b0cd7cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/drivers/ValetDriver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ public function mutateUri($uri)
118118
*/
119119
public function serveStaticFile($staticFilePath, $sitePath, $siteName, $uri)
120120
{
121-
$extension = pathinfo($staticFilePath)['extension'];
121+
$extension = strtolower(pathinfo($staticFilePath)['extension']);
122122

123123
$mimes = require(__DIR__.'/../mimes.php');
124124

0 commit comments

Comments
 (0)