mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 07:33:37 +08:00
edbc356593
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. |
||
---|---|---|
.. | ||
admin_confirmation_mailer.rb | ||
download_backup_mailer.rb | ||
invite_mailer.rb | ||
rejection_mailer.rb | ||
subscription_mailer.rb | ||
test_mailer.rb | ||
user_notifications.rb | ||
version_mailer.rb |