noir-clojure / lib-noir

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

Fixing issue with get-resource on Windows machines #16

Closed arosequist closed 11 years ago

arosequist commented 11 years ago

io/resource uses ClassLoader/getResource, which requires that the path uses / to separate path names. Escaping / with File/separator (\ on Windows) causes \ to be escaped in the file URL.