Skip to content

You cannot serve a static file with a + character in the filename in Rails 3? #5058

theirishpenguin opened this Issue Feb 16, 2012 · 3 comments

3 participants


Using Rails 3.1.3 in a standard dev setup (no nginx or anything).

Steps to reproduce
Given that under the public directory of my Rails project I have a file called boo+plus.html
When I browse to http://localhost:3000/boo+plus.html
Then I the files should be served to me

Instead I get You gets 'route not found' :(

This used to work in Rails 2.3.x.

http://localhost:3000/boo%2Bplus.html doesn't work either.


Same result using Rails 3.2.1.


@ugisozols Thanks for the quick reply and verifying the steps. Good to know I haven't just gone crazy.

kennyj commented Feb 18, 2012

I'm closing this issue, because already fixed.

@kennyj kennyj closed this Feb 18, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.