Martin Brennan edbc356593
FIX: Replace deprecated URI.encode, URI.escape, URI.unescape and URI.unencode (#8528)
The following methods have long been deprecated in ruby due to flaws in their implementation per http://blade.nagaokaut.ac.jp/cgi-bin/vframe.rb/ruby/ruby-core/29293?29179-31097:

URI.escape
URI.unescape
URI.encode
URI.unencode
escape/encode are just aliases for one another. This PR uses the Addressable gem to replace these methods with its own encode, unencode, and encode_component methods where appropriate.

I have put all references to Addressable::URI here into the UrlHelper to keep them corralled in one place to make changes to this implementation easier.

Addressable is now also an explicit gem dependency.
2019-12-12 12:49:21 +10:00
..
2019-11-19 10:21:06 +00:00
2019-10-21 12:08:20 +01:00
2019-12-11 14:04:02 +10:00
2019-11-19 10:21:06 +00:00
2019-11-29 15:49:08 +00:00
2019-10-21 12:08:20 +01:00
2019-12-05 20:35:39 +05:30
2019-10-21 12:08:20 +01:00
2019-05-13 15:24:24 +01:00
2019-10-21 12:08:20 +01:00
2019-10-17 16:58:22 +11:00
2019-12-04 13:33:51 -05:00
2019-12-04 13:33:51 -05:00
2019-05-29 14:26:24 +10:00
2019-10-17 16:58:22 +11:00
2019-10-21 12:08:20 +01:00
2019-10-21 12:08:20 +01:00
2019-10-17 16:58:22 +11:00