Skip to content
New issue

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

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

Already on GitHub? # to your account

Invalid character in filename on Windows #236

Closed
ollbx opened this issue Dec 18, 2020 · 1 comment · Fixed by #257
Closed

Invalid character in filename on Windows #236

ollbx opened this issue Dec 18, 2020 · 1 comment · Fixed by #257

Comments

@ollbx
Copy link

ollbx commented Dec 18, 2020

The colon character (":") in the file "test/fixtures/dkim-rsa-private-encrypted:12345.pem" causes issues in Windows, because Windows uses colon in filenames for alternate data streams. Recent versions of git refuse to clone the repository in Windows.

Cloning into 'gen_smtp'...
remote: Enumerating objects: 64, done.
remote: Counting objects: 100% (64/64), done.
remote: Compressing objects: 100% (48/48), done.
remote: Total 2656 (delta 35), reused 33 (delta 16), pack-reused 2592
Receiving objects: 100% (2656/2656), 3.70 MiB | 6.11 MiB/s, done.
Resolving deltas: 100% (1793/1793), done.
error: invalid path 'test/fixtures/dkim-rsa-private-encrypted:12345.pem'
fatal: unable to checkout working tree
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'

I would suggest renaming the file, to fix the issue.

@fulc927
Copy link

fulc927 commented Mar 1, 2021

Hello, there I am seconding that, that is not very handy when you have to build from an Windows machine:

error: invalid path 'test/fixtures/dkim-rsa-private-encrypted:12345.pem'

Thank you to take that into consideration please

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants