-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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
httpcaddyfile: Ignore the import empty dotfile. #5320
Conversation
I don't think this is quite right. I think we want to:
Those are two separate changes, not related. |
e6dbe30
to
0ee529b
Compare
This still isn't right. I think you misunderstood the requirements. How did you try testing this? I think this will need some tests to show that it works correctly.
|
I want to emphasize, though, we are very grateful for the patch 💯 😃 We probably could have better clarified the requirements in the issue and will try to do so in the future! |
… a glob. * Fixes caddyserver#5295 * Empty file should just log a warning, and result in no tokens. * The last segment of the path is '*', it should skip any dotfiles. * The last segment of the path is '.*', it should read all dotfiles in a dir.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! This is looking a lot better.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome, thanks so much! Let's give this a whirl :)
ignore the empty dot file while it imports.
and also warning in this situation.
#5295 (comment)