Skip to content
This repository was archived by the owner on Dec 9, 2019. It is now read-only.

Commit a0bc2fb

Browse files
TheNodicpriego
authored andcommitted
Lowercase domain before check (cpriego#135)
This PR resolves cpriego#128
1 parent f829b8c commit a0bc2fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ function valet_path_to_slug($path) {
121121

122122
$siteName = basename(
123123
// Filter host to support xip.io feature
124-
valet_support_xip_io(explode(':',$_SERVER['HTTP_HOST'])[0]),
124+
valet_support_xip_io(explode(':',strtolower($_SERVER['HTTP_HOST']))[0]),
125125
'.'.$valetConfig['domain']
126126
);
127127

0 commit comments

Comments
 (0)