From cb7ec73fc75fd151253330478626763b9c26dd5f Mon Sep 17 00:00:00 2001 From: Parker Moore Date: Sun, 16 Dec 2012 13:29:44 -0500 Subject: [PATCH] Rack should unescape submitted URLs --- config.ru | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.ru b/config.ru index b1b746b..4b01539 100644 --- a/config.ru +++ b/config.ru @@ -7,7 +7,7 @@ $root = ::File.dirname(__FILE__) class SinatraStaticServer < Sinatra::Base get(/.+/) do - send_sinatra_file(request.path) {404} + send_sinatra_file(unescape request.path) {404} end not_found do