Clojure

clojure.java.io/Coercions doesn't handle URL-escaping

Details

  • Type: Defect Defect
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Completed
  • Affects Version/s: Release 1.3
  • Fix Version/s: Release 1.4
  • Component/s: None
  • Labels:
    None
  • Patch:
    Code and Test
  • Approval:
    Ok

Description

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.

Activity

Colin Jones made changes -
Field Original Value New Value
Attachment 0002-Handle-URL-escaping-in-both-directions-in-java.io-Co.patch [ 10726 ]
Stuart Sierra made changes -
Approval Vetted [ 10003 ]
Priority Major [ 3 ] Minor [ 4 ]
Fix Version/s Approved Backlog [ 10034 ]
Stuart Halloway made changes -
Approval Vetted [ 10003 ] Screened [ 10004 ]
Fix Version/s Approved Backlog [ 10034 ]
Fix Version/s Release 1.4 [ 10040 ]
Rich Hickey made changes -
Approval Screened [ 10004 ] Ok [ 10007 ]
Stuart Halloway made changes -
Resolution Completed [ 1 ]
Status Open [ 1 ] Closed [ 6 ]

People

Vote (1)
Watch (2)

Dates

  • Created:
    Updated:
    Resolved: