This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/spec
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
..
components FIX: Update S3 stubs for more aws-sdk API changes (#8534) 2019-12-11 11:26:52 -08:00
fabricators Improving bookmarks part 1 (#8466) 2019-12-11 14:04:02 +10:00
fixtures FIX: Ignore DMARC for emails sent to mailing list mirror 2019-12-06 13:29:39 +01:00
helpers FIX: email excerpts for posts starting with a quote were displaying a username 2019-11-19 12:35:23 -05:00
import_export DEV: clean up dependencies in spec 2019-10-02 14:50:54 +10:00
integration FEATURE: Tag synonyms 2019-12-04 13:33:51 -05:00
integrity DEV: Update markdown-it from 8.4.1 to 10.0.0 (#8164) 2019-10-08 13:00:22 +02:00
jobs DEV: s/\$redis/Discourse\.redis (#8431) 2019-12-03 10:05:53 +01:00
lib Build(deps): Bump aws-sdk-s3 from 1.36.1 to 1.59.0 (#8502) 2019-12-11 10:18:11 -08:00
mailers DEV: s/\$redis/Discourse\.redis (#8431) 2019-12-03 10:05:53 +01:00
models FIX: Update S3 stubs for more aws-sdk API changes (#8534) 2019-12-11 11:26:52 -08:00
multisite FEATURE: Add support for secure media (#7888) 2019-11-18 11:25:42 +10:00
requests FIX: Replace deprecated URI.encode, URI.escape, URI.unescape and URI.unencode (#8528) 2019-12-12 12:49:21 +10:00
serializers Improving bookmarks part 1 (#8466) 2019-12-11 14:04:02 +10:00
services DEV: s/\$redis/Discourse\.redis (#8431) 2019-12-03 10:05:53 +01:00
support DEV: update rubocop to version 0.77 2019-12-10 11:48:39 +11:00
tasks DEV: s/\$redis/Discourse\.redis (#8431) 2019-12-03 10:05:53 +01:00
views/omniauth_callbacks FEATURE: Use full page redirection for all external auth methods (#8092) 2019-10-08 12:10:43 +01:00
rails_helper.rb DEV: s/\$redis/Discourse\.redis (#8431) 2019-12-03 10:05:53 +01:00