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

Normalize filename when copying files with illegal Windows characters #9023

Closed
cyberduck opened this issue Sep 22, 2015 · 2 comments
Closed
Assignees
Labels
enhancement fixed openstack OpenStack Swift Protocol Implementation
Milestone

Comments

@cyberduck
Copy link
Collaborator

1634b89 created the issue

For example a Linux filename could be something like:
ifcfg-eth0:0

...which in Linux is legal.

When I use Cyberduck to copy this file to Windows, I think the filename in Windows should be URL encoded, like this:

ifcfg-eth0%3A0

...since the ":" is illegal in a Windows filename.

The reverse should also be done -- i.e. when copying from Windows to SWIFT, the filename should be URL decoded.

This, for example, is how WinSCP copes with the same issue when FTP-ing files around different systems.

Thanks very much for you consideration,
Olivier Withoff,
Demo Center Team,
Citrix Systems.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Revert in 9c57a35.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

In b19937b.

@iterate-ch iterate-ch locked as resolved and limited conversation to collaborators Nov 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement fixed openstack OpenStack Swift Protocol Implementation
Projects
None yet
Development

No branches or pull requests

2 participants