derbylock / missing-link

Automatically exported from code.google.com/p/missing-link
0 stars 0 forks source link

Does not work with paths which include encoded characters #36

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Enter URL which contains spaces i.e. 
http://example.com/some%20path/index.html
2. Run the task

What is the expected output? What do you see instead?
Expected HTTP 200 response but receive HTTP 404 response

What version of the product are you using? On what operating system?
1.1.3

Please provide any additional information below.

org.missinglink.http.client.HttpClient
596: httpClient.path = safeUri.getPath();

URI.getPath() decodes its return value. Some options are to use getRawPath() or 
re-encode the full URI before it is called.

Original issue reported on code.google.com by kasey.fr...@gmail.com on 12 Jun 2013 at 10:43