-
-
Notifications
You must be signed in to change notification settings - Fork 21.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
Prevent folder names with trailing periods from being used automatically #93564
Prevent folder names with trailing periods from being used automatically #93564
Conversation
Dumb question, what about MacOS or any other build of the engine? Is the trailing period already trimmed, or is it plainly allowed? Or does this PR already catch all of them? |
It's not currently trimmed in
|
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.
Makes sense to me. I haven't tested it.
Folder names ending with one or more `.` characters are not allowed on Windows, so this would break writing logs, shader cache and other project-specific files. Trailing periods are now stripped in this case. On non-Windows platforms, this change still applies in the interest of portability.
bd2709d
to
492787b
Compare
Thanks! |
Folder names ending with one or more
.
characters are not allowed on Windows, so this would break writing logs, shader cache and other project-specific files. Trailing periods are now stripped in this case.On non-Windows platforms, this change still applies in the interest of portability.
This is technically a small breakage on non-Windows platforms because of this, but very few projects had user directory names that ended with
.
anyway (as it didn't work on Windows).Testing project: test_project_periods.zip