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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/cgi/cookie.rb +1 -1
  3. data/lib/cgi.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9a8b280a77d9701d21c41159e9edfc1c58f9de91e9f0df44f01f206e9ead9350
4
- data.tar.gz: ae928b550827c43a553646d98b967dad4a9d1404abe02424c9e9f981658d8709
3
+ metadata.gz: 7ab630b1ee63c28d102b256a4562207d7f3db48b69b70637a2bef8ea3e5278c9
4
+ data.tar.gz: 233320549bd6842398a5dfd401b671713dd9f9af75a4c7eb4a6e8ab760a192d4
5
5
  SHA512:
6
- metadata.gz: da765c0aa4fbac887d1abbdf4e106676b1b57ce2dbd1027c852a1d7c1f64fd82a6d15175179d8154bb351d2ee2d2666fc91442a9e192f07493f630e84b990d05
7
- data.tar.gz: 3120ad31dc116d0b80020b21ff64569d8eebddce7dba5f70544eecd60b8fe744c8b1e0f8a7877e523c66033ab58dccd74db45793afc5ade75e80da837c9d931e
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>[A-Za-z][-A-Za-z0-9]*[A-Za-z0-9])(?:\.\g<label>)*\z"
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
@@ -288,7 +288,7 @@
288
288
  #
289
289
 
290
290
  class CGI
291
- VERSION = "0.3.4"
291
+ VERSION = "0.3.5"
292
292
  end
293
293
 
294
294
  require 'cgi/core'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cgi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.3.5
5
5
  platform: java
6
6
  authors:
7
7
  - Yukihiro Matsumoto