-
Notifications
You must be signed in to change notification settings - Fork 259
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Static files with space characters aren't routed properly #46
Comments
It looks like this is actually a bug in the clojure/clojure@1538d80#src/clj/clojure/java/io.clj I guess we might want to think about putting a workaround for this bug in Ring, as Clojure releases tend to be infrequent. |
It seems like ring's Thanks for the quick response :) |
Not quite... If a resource is stored on the filesystem, then The logic in Ring is correct; it's just unfortunate that |
Great, I see RC2 uses ring 1.0.1 which has the fix. Closing. Many Thanks, |
I first ran into this in noir which has Issue #36 filed against this.
I suspected an upstream bug so created a new compojure app using the wiki example. I placed a pdf in "resources/public/file.pdf" which is found and parsed correctly but "resources/public/spaced%20file.pdf" (in the url) is not.
The text was updated successfully, but these errors were encountered: