Forum: Ruby on Rails Trapping or rewriting crappy urls

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
059ed46172a087063ce26250e44c8627?d=identicon&s=25 Fernando Perez (fernando)
on 2009-03-11 10:53
Hi,

Sometimes in my log, I see correct urls that have been appended with
some crap characters and that currently raises an internal server error
which I don't really care about. What would be the cleanest way to deal
with such situation? Use a begin...rescue?
This topic is locked and can not be replied to.