Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support mix-case domains #135

Merged
merged 1 commit into from Jan 17, 2018
Merged

Conversation

TheNodi
Copy link
Collaborator

@TheNodi TheNodi commented Jan 16, 2018

Valet doesn't support mix-case domains if you request a domain with uppercase characters.
curl http://someDomain.test will result in a 404 - Valet Not Found even if someDomain folder exists.
See #128 (comment) for detailed explanation.

The solution is to lowercase the host parameter before matching it with folder slug (which is already lowercased).

@TheNodi TheNodi requested a review from cpriego January 16, 2018 23:00
@cpriego cpriego merged commit a0bc2fb into cpriego:master Jan 17, 2018
@TheNodi TheNodi deleted the mixed_case_domains branch January 19, 2018 01:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants