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

java.io.File.toURL() does not properly encode characters #334

Closed
GoogleCodeExporter opened this issue Mar 16, 2015 · 2 comments
Closed

java.io.File.toURL() does not properly encode characters #334

GoogleCodeExporter opened this issue Mar 16, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

GoogleCodeExporter commented Mar 16, 2015

As we use this method in a lot of places in our code we need to replace it with 
code that generates properly encoded URIs.

Example:

new File("/tmp/a+b").toURL() returns "file:/tmp/a+b". This is incorrect as it 
should be "file:/tmp/a%2Bb" instead.

Original issue reported on code.google.com by indiapaleale@gmail.com on 24 Nov 2010 at 7:50

@GoogleCodeExporter
Copy link
Author

GoogleCodeExporter commented Mar 16, 2015

Original comment by indiapaleale@gmail.com on 24 Nov 2010 at 7:50

  • Changed state: Started

@GoogleCodeExporter
Copy link
Author

GoogleCodeExporter commented Mar 16, 2015

This issue was closed by revision r1490.

Original comment by indiapaleale@gmail.com on 24 Nov 2010 at 11:17

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant