Skip to content
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

Merged
merged 3 commits into from
Sep 22, 2016

Conversation

Leward
Copy link
Contributor

@Leward Leward commented Aug 21, 2016

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

image

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).

Leward added 2 commits August 21, 2016 03:40
Signed-off-by: Paul-Julien Vauthier <pj82491@gmail.com>
Signed-off-by: Paul-Julien Vauthier <pj82491@gmail.com>
@codenvy-ci
Copy link

Can one of the admins verify this patch?

1 similar comment
@codenvy-ci
Copy link

Can one of the admins verify this patch?

@Leward
Copy link
Contributor Author

Leward commented Aug 21, 2016

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>
@TylerJewell
Copy link

Thanks for the contribution! @kuleshov @vparfonov should review and comment.

@bmicklea bmicklea added the status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. label Aug 29, 2016
@slemeur
Copy link
Contributor

slemeur commented Sep 12, 2016

@vparfonov : could you please have your team reviewing the PR.

@slemeur
Copy link
Contributor

slemeur commented Sep 19, 2016

@vparfonov : still no review planned on this PR?

Copy link

@dkulieshov dkulieshov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks nice

@vparfonov vparfonov merged commit ff97ddc into eclipse-che:master Sep 22, 2016
@bmicklea bmicklea added this to the 5.0.0 milestone Jan 11, 2017
JPinkney pushed a commit to JPinkney/che that referenced this pull request Aug 17, 2017
…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>
@benoitf benoitf removed the status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. label Nov 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants