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

Write '*' as '_' on the filesystem #11

Merged
merged 2 commits into from
Oct 22, 2018
Merged

Conversation

mbardelmeijer
Copy link
Contributor

We wanted to use minica to issue some wildcard self-signed certificates on our Windows machine, but ran into the issue that Windows doesn't support a '*' character on it's filesystem.

This patch ensures that folders created with the char '*' are written out as 'wildcard'.

Not a go developer so unsure if this is the best approach :)

@tox2ik
Copy link

tox2ik commented Oct 22, 2018

Should be _, not "wildcard" imho

@mbardelmeijer
Copy link
Contributor Author

@tox2ik agreed, thanks for the feedback!

@jsha jsha changed the title Write '*' as 'wildcard' on the filesystem Write '*' as '_' on the filesystem Oct 22, 2018
@jsha jsha merged commit 3560439 into jsha:master Oct 22, 2018
@jsha
Copy link
Owner

jsha commented Oct 22, 2018

Thanks so much for the patch! I had been meaning to get back to you on this with the feedback that "wildcard" didn't feel right, but I was stuck on proposing a better alternative. _ works great, thanks @tox2ik.

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.

3 participants