lib/conjur/escape.rb in conjur-api-4.23.0 vs lib/conjur/escape.rb in conjur-api-4.24.0
- old
+ new
@@ -23,10 +23,11 @@
# Provides helpers for escaping url components.
#
# The helpers are added as both class and isntance methods.
module Escape
module ClassMethods
- # URL escape the entire string. This is essentially the same as calling `CGI.escape str`.
+ # URL escape the entire string. This is essentially the same as calling `CGI.escape str`,
+ # and then substituting `%20` for `+`.
#
# @example
# fully_escape 'foo/bar@baz'
# # => "foo%2Fbar%40baz"
#