# Url with some%Fvalue treated differently than some\_value

**URL:** <https://www.ruby-forum.com/t/url-with-some-fvalue-treated-differently-than-some-value/175299>\
**Category:** Rails\
**Created:** [September 10, 2009, 7:40pm UTC](https://www.ruby-forum.com/t/url-with-some-fvalue-treated-differently-than-some-value/175299 "2009-09-10T19:40:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![davetron5000](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/a3d4f5/32.png) [@davetron5000](https://www.ruby-forum.com/u/davetron5000)\
**Post date:** [September 10, 2009, 7:40pm UTC](https://www.ruby-forum.com/t/url-with-some-fvalue-treated-differently-than-some-value/175299/1 "2009-09-10T19:40:57Z")

</div>

My setup:

passenger via Apache  
rails 2.3.2

RailsBaseURI /scala\_tour

going to [http://www.naildrivin5.com/scala\_tour](http://www.naildrivin5.com/scala_tour) works great

Someone posted a link to [http://www.naildrivin5.com/scala\_tour](http://www.naildrivin5.com/scala%5Ftour) and I  
get this in my log:

ActionController::RoutingError (No route matches “/scala%5Ftour” with  
{:method=\>:get}):

The browser window renders the underscore. Reloads cause the same  
problem. If I copy/paste the link to a new tab, all is well.

What’s weird is that Passenger is clearly detecting that scala%5Ftour  
should be routed to scala\_tour, but then the Rails app gets totally  
confused by this.

Anyone experience this? Any ideas how to deal with it (other than  
changing the context so the \_ isn’t there)

Dave
