I am new to ruby and rails. Here in routes.rb i have added the following line:
match 'check/' => "home#index"
When i hit url with server running on port 3000:
localhost:3000/check/
it works fine, but if i give url
localhost:3000/////////////////check////////////////////
it also works fine which should not be the case. With url
localhost:3000/////////////check////d//////
it says
No route matches [GET] "/check/d"
It means it is escaping slashes, why this is happening and how to resolve it. Also help me to know if we can make urls using regular exressions on rails.