-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
CHE-1485 allow special characters in file names and folder names + fix an encoding issue #2176
Conversation
Signed-off-by: Paul-Julien Vauthier <pj82491@gmail.com>
Signed-off-by: Paul-Julien Vauthier <pj82491@gmail.com>
Can one of the admins verify this patch? |
1 similar comment
Can one of the admins verify this patch? |
By the way I think all the file names passed as a query string parameter to the API should be URL Encoded. I supposed because of that, some operation may be broken when executed against files containing special chars in their names. This is also my first contribution to Che :) |
…l chars in its name Signed-off-by: Paul-Julien Vauthier <pj82491@gmail.com>
Thanks for the contribution! @kuleshov @vparfonov should review and comment. |
@vparfonov : could you please have your team reviewing the PR. |
@vparfonov : still no review planned on this PR? |
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.
Looks nice
…x an encoding issue (eclipse-che#2176) * CHE-1485 allow special characters in file names Signed-off-by: Paul-Julien Vauthier <pj82491@gmail.com> * CHE-1485 fix encoding issues with special chars when creating new file Signed-off-by: Paul-Julien Vauthier <pj82491@gmail.com> * CHE-1485 fix encoding issue when copying or moving a file with special chars in its name Signed-off-by: Paul-Julien Vauthier <pj82491@gmail.com>
What does this PR do?
It allows user to create files and folders that contains special (non-ASCII) characters expects the one that are not allowed in Linux or Windows.
What issues does this PR fix or reference?
CHE-1485 Struggling working with Japanese filenames
Previous Behavior
File/Folder names with special characters were marked as invalid
New Behavior
File/Folder names with special characters are now valid
Tests written?
Yes
Docs requirements?
None
Note that Japanese names for example makes the terminal to behave a bit weirdly. However by getting into the container it is fine (see screenshot).