[前][次][番号順一覧][スレッド一覧]

ruby-changes:73662

From: Akihiro <ko1@a...>
Date: Wed, 21 Sep 2022 17:35:40 +0900 (JST)
Subject: [ruby-changes:73662] 02e25db68f (master): Add URI.escape and URI.unescape to NEWS-3.0.0 [ci skip]

https://git.ruby-lang.org/ruby.git/commit/?id=02e25db68f

From 02e25db68f94920810c1c110138ab7b1d6e2ca59 Mon Sep 17 00:00:00 2001
From: Akihiro Sada <sada@n...>
Date: Tue, 5 Apr 2022 20:37:05 +0900
Subject: Add URI.escape and URI.unescape to NEWS-3.0.0 [ci skip]

---
 doc/NEWS/NEWS-3.0.0.md | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/doc/NEWS/NEWS-3.0.0.md b/doc/NEWS/NEWS-3.0.0.md
index 00c26fe585..bdbd47327b 100644
--- a/doc/NEWS/NEWS-3.0.0.md
+++ b/doc/NEWS/NEWS-3.0.0.md
@@ -512,6 +512,18 @@ Outstanding ones only. https://github.com/ruby/ruby/blob/trunk/doc/NEWS/NEWS-3.0.0.md#L512
 
     * This version is Ractor compatible.
 
+* URI
+
+    * URI.escape and URI.unescape have been removed.
+      Instead, use the following methods depending on your specific use case.
+
+        * CGI.escape
+        * URI.encode_www_form
+        * URI.encode_www_form_component
+        * CGI.unescape
+        * URI.decode_www_form
+        * URI.decode_www_form_component
+
 ## Compatibility issues
 
 Excluding feature bug fixes.
-- 
cgit v1.2.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]