cgi 0.3.4-java → 0.3.5-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/cookie.rb +1 -1
- data/lib/cgi.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7ab630b1ee63c28d102b256a4562207d7f3db48b69b70637a2bef8ea3e5278c9
|
4
|
+
data.tar.gz: 233320549bd6842398a5dfd401b671713dd9f9af75a4c7eb4a6e8ab760a192d4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9f14f7ffa4c17c1f5fb170bf1f2a35ee679f4b5dfe76fbe4396984da5f06f3a192aecb91be1cc84d1c9fdd2cc8ee9850627c1dbd6e9853f7397d5edadaa5fb7d
|
7
|
+
data.tar.gz: 57e0626a276c44d062a9f2279b4e28a3dca19abe50885fd4bd9a38e7bc93fa8cb1710ae18d1b33d4040630c57fa56eb52ed55fbf4cd8f557c0ef3838b571bbc5
|
data/lib/cgi/cookie.rb
CHANGED
@@ -42,7 +42,7 @@ class CGI
|
|
42
42
|
|
43
43
|
TOKEN_RE = %r"\A[[!-~]&&[^()<>@,;:\\\"/?=\[\]{}]]+\z"
|
44
44
|
PATH_VALUE_RE = %r"\A[[ -~]&&[^;]]*\z"
|
45
|
-
DOMAIN_VALUE_RE = %r"\A(?<label>[
|
45
|
+
DOMAIN_VALUE_RE = %r"\A(?<label>(?!-)[-A-Za-z0-9]+(?<!-))(?:\.\g<label>)*\z"
|
46
46
|
|
47
47
|
# Create a new CGI::Cookie object.
|
48
48
|
#
|
data/lib/cgi.rb
CHANGED