cgi 0.3.4 → 0.3.5

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: c729ba6567e82959f2b4e23b717b7a8aa9847d48a863f7c9dc1e8a24f9fba9e3
4
- data.tar.gz: f8eb5772591c3cb006a0bb7a8b400fa991cbe85bb139d14fe320e2225e32f4e0
3
+ metadata.gz: 8ce6875af13620a6db03d330d999d439a8a123d202441f244cfb1384881c3f29
4
+ data.tar.gz: 7c63c709fd47c6f9354d27e90e9154128e5fb3dc4db3460c89d68efd619f2d53
5
5
  SHA512:
6
- metadata.gz: 19d8d04c3b83b7580e136d95481a18ff2cd58ed2db8231c1685af3b28aa1e7e2a1c440ebedb6e51f10d85279769d70c479e749cbb631402d838c3a58348c34f2
7
- data.tar.gz: f51658936fd8a598f0036d2ec0b2b1d6554d27073aaace7581c303dbc0b43c775b205741b41dab2aeaf573cc9f3d61917687ad7b9a5f972a3f73c4aaf7b0cbe5
6
+ metadata.gz: 917d92a7163be187b32a5b8584a0f6db25373af60129633038dacbfdaa653b95219af6c657102613d871945d7abd54c06cdbcccb79640f3a7cc85ec6cbcb2c16
7
+ data.tar.gz: c3d26461f58ce39fc85afd3c9889b38a4382fa15cdd22b05283947b0e5bca35e507285cfe2f8f6c1ed34545ccdcf0adc930f2278568028211b4df21d2120fcdb
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: ruby
6
6
  authors:
7
7
  - Yukihiro Matsumoto