Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class << Addressable::URI
- # ActionController::Routing passes an unsafe char regex to URI.escape. However,
- # Addressable::URI.escape has the correct unsafe char regexes for each url part.
- def escape(uri, whatever)
- encode(uri)
- end
- end
Add Comment
Please, Sign In to add comment