how to handle .something in the url
- by dorelal
I am using rails 2.3.5 . I have a resource for event.
map.resources :events
respond_to do |format|
format.html
format.js { render :text => @event.to_json, :layout => false }
end
It is a public site and sometimes I get urls like
http://domain.com/events/14159-international-hardware-show-2010+91+"prashant"+2010+OR+email+OR+data+OR+base+-ALIBA.BACOM&hl=en&ct=clnk
I keep getting hoptoad exception email. How do I handle such cases?