I've recently renamed some pages on my (sinatra-backed) site. I'm redirecting from the old names to new using the following routes, which I've put before any others:
##
# Renamed pages
#
get '/venue' do redirect '/the+wedding/reception'; end
get '/accommodation' do redirect '/out+of+town+info/accommodation'; end
get '/things+to+do' do redirect '/out+of+town+info/things+to+do'; end
The first two work fine, but the third results in a 404. Is there something special about the +
in this third route? I can't find anything helpful in the documentation and I can't seem to escape them in a way that makes the route work.
I've been testing with curl, and the first two use 304s as expected, the third displays the normal 404 page.
I'm using sinatra 1.2.6 as packaged in Debian.