diff options
Diffstat (limited to 'lib/uri')
-rw-r--r-- | lib/uri/common.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/uri/common.rb b/lib/uri/common.rb index 3fb1a6dbda..48bf6970de 100644 --- a/lib/uri/common.rb +++ b/lib/uri/common.rb @@ -81,6 +81,10 @@ module URI # # Escapes the string, replacing all unsafe characters with codes. # + # This method is obsolete and should not be used. Instead, use + # CGI.escape, URI.www_form_encode or URI.www_form_encode_component + # depending on your specific use case. + # # == Usage # # require 'uri' |