File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -931,6 +931,11 @@ class CGI
931931 #
932932 def escapeURIComponent : (string) -> String
933933
934+ # <!-- rdoc-file=ext/cgi/escape/escape.c -->
935+ # Returns URL-escaped string following RFC 3986.
936+ #
937+ alias escape_uri_component escapeURIComponent
938+
934939 # <!--
935940 # rdoc-file=ext/cgi/escape/escape.c
936941 # - CGI.unescape(string, encoding=@@accept_charset) -> string
@@ -954,6 +959,11 @@ class CGI
954959 # Returns URL-unescaped string following RFC 3986.
955960 #
956961 def unescapeURIComponent : (string) -> String
962+
963+ # <!-- rdoc-file=ext/cgi/escape/escape.c -->
964+ # Returns URL-unescaped string following RFC 3986.
965+ #
966+ alias unescape_uri_component unescapeURIComponent
957967 end
958968
959969 # <!-- rdoc-file=lib/cgi/core.rb -->
You can’t perform that action at this time.
0 commit comments