cgi 0.4.0-java → 0.4.1-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cgi/escape.jar +0 -0
- data/lib/cgi/util.rb +3 -0
- data/lib/cgi.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7c3e82cf818cce6560f74ea438dd0f50adbca21a5a8198b6249edb14a23fa615
|
4
|
+
data.tar.gz: afed8f5eaab2258db2af2bfe355e174cf32181a12c523f86144d414fdfecd7ca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 26d00d5328b3debb75ac22ab775e38d63f478faef992bbd68b4f1fe2a5198b96aac17f82731a643f0398f065039b26baf954f552a28ff0297315346a1a1215ff
|
7
|
+
data.tar.gz: 867528e96acaa9a07a13179bc885cd81e1bcf6c18219e414f27d17219ff179d3c6b9c622c25cc48d5ff493e17352de342c8171742abb75859053068066a1192b
|
data/lib/cgi/escape.jar
CHANGED
Binary file
|
data/lib/cgi/util.rb
CHANGED
@@ -46,6 +46,7 @@ module CGI::Util
|
|
46
46
|
end
|
47
47
|
buffer.force_encoding(encoding)
|
48
48
|
end
|
49
|
+
alias escape_uri_component escapeURIComponent
|
49
50
|
|
50
51
|
# URL-decode a string following RFC 3986 with encoding(optional).
|
51
52
|
# string = CGI.unescapeURIComponent("%27Stop%21%27+said%20Fred")
|
@@ -59,6 +60,8 @@ module CGI::Util
|
|
59
60
|
str.valid_encoding? ? str : str.force_encoding(string.encoding)
|
60
61
|
end
|
61
62
|
|
63
|
+
alias unescape_uri_component unescapeURIComponent
|
64
|
+
|
62
65
|
# The set of special characters and their escaped values
|
63
66
|
TABLE_FOR_ESCAPE_HTML__ = {
|
64
67
|
"'" => ''',
|
data/lib/cgi.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cgi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Yukihiro Matsumoto
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-12-05 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Support for the Common Gateway Interface protocol.
|
14
14
|
email:
|