-
Notifications
You must be signed in to change notification settings - Fork 4
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
filename truncated by spaces #25
Comments
In some sense that is on purpose that you shouldn't use spaces in your image names. However, the GUI doesn't handle the case where the user does input a space. There are two easy ways to fix this. Bar the user from inputting spaces, somehow. Or (I like this solution better) just replace all the white space with underscores or dashes in the name. On the possible question of letting the user generate file names with spaces this is not possible without making some pain staking changes. |
Well, the OS can handle filenames with spaces, but it's not conventional in unix... if it's really going to take painstaking work, then maybe we just block it somehow. Anyhoo, wanted to record this for when we finish all the higher priority work. =) |
I like the idea of just adding a line of code to replace all white space
with underscore or dash, seems simple and quick.
Matt Armstrong
…On Aug 30, 2017 16:54, "Oliver Fraser" ***@***.***> wrote:
Well, the OS can handle filenames with spaces, but it's not conventional
in unix... if it's really going to take painstaking work, then maybe we
just block it somehow. Anyhoo, wanted to record this for when we finish all
the higher priority work. =)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#25 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AL4_mgGrASNZZudvY0Ci_gaFGC0ljqxNks5sdfYogaJpZM4PICie>
.
|
This isn't the most important bug, but it is unexpected....
Take an image with a requested name with spaces in it (on retrospect, I may not have tested only one space). Saved filename will be requested name only up to first space.
The text was updated successfully, but these errors were encountered: