noir-clojure / lib-noir

A set of libraries for ring apps, including stateful sessions.
Eclipse Public License 1.0
483 stars 47 forks source link

resource encode/decode in noir/io.clj #87

Closed winkpoke closed 10 years ago

winkpoke commented 10 years ago

The resource-path shall be decoded in the upload-file, something like:

(java.net.URLDecoder/decode (resource-path) "utf-8")

otherwise the path may contain chars like "%20" "%5c", etc.

yogthos commented 10 years ago

I URLDecoder/decode added in the new version that's just been released. Let me know if the issue is fixed.

yogthos commented 10 years ago

Closing since the issue appears fixed in testing.

winkpoke commented 10 years ago

Sorry for the late reply. I checked and it worked. Thanks.

yogthos commented 10 years ago

good to hear ;)