-
Notifications
You must be signed in to change notification settings - Fork 699
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
No error or dialog if filename has an incorrect character #926
Comments
@tobiasht I'm sorry, but the use of a colon
Windows Explorer doesn't even allow you to type a colon in a file name: |
Yeah i understand that, but it would be more helpful to raise an invalid character exception. If that is possible. It will save people a lot of troubleshooting in the future. |
This issue is stale because it has been open for 14 days with no activity. |
This issue is stale because it has been open for 14 days with no activity. |
@philenius do you plan to do anything regarding this? |
Fixes #926. Windows limits the characters allowed in file names. See: https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file
@miguelpruivo please excuse my late reply. Merge request #940 adds the requested exception. |
I was trying to run the following code on Windows.
The dialog did not open and it only returned null. I figured out that it was because i was using ":" in the filename. This might be an invalid character and might be by design. Either way, I believe it should throw an error, to easily figure out the problem.
The text was updated successfully, but these errors were encountered: