-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix raw_ssl_request method for ruby 3.2.1
With ruby 3.2.1 upgrade depracated method for calling =~ on Object was removed https://bugs.ruby-lang.org/issues/15231 This causes `logger.warn "#{self.class} posting to plaintext endpoint, which is insecure" if logger unless endpoint =~ /^https:/` to throw an error. Casting endpoint to string resolves this problem as all objects for handling uri should respond to `to_s` method
- Loading branch information
1 parent
eb6d260
commit 63ec65a
Showing
2 changed files
with
10 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters