[CLJ-885] clojure.java.io/Coercions doesn't handle URL-escaping Created: 27/Nov/11 Updated: 09/Dec/11 Resolved: 09/Dec/11
|Affects Version/s:||Release 1.3|
|Fix Version/s:||Release 1.4|
|Patch:||Code and Test|
clojure.java.io/Coercions implementations for URL -> File and File -> URL don't take URL escaping into account, and I think they should.
This breaks things like slurping a resource file that has spaces in the path.
Example behavior here: https://gist.github.com/1398972
I will post a link to the clojure-dev list discussion in the comments once I have the link for this ticket to post there.
|Comment by Colin Jones [ 27/Nov/11 10:37 PM ]|
clojure-dev posting with more details (and presumably forthcoming discussion): https://groups.google.com/d/topic/clojure-dev/bTNX4pt_b4w/discussion
|Comment by Colin Jones [ 30/Nov/11 12:31 PM ]|
Updated patch to fix the issue David Powell brought up on the dev list, so that "+" in a URL does not get translated to " " in a File.
|Comment by Stuart Sierra [ 30/Nov/11 2:04 PM ]|
Vetted & assigned to "Approved Backlog" in preparation for next release.