rack-encoding_guard 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 24e9d6fb725a32cf5e1146b64f5e2d04173fe272
4
- data.tar.gz: 9f935c1cf9ea47c23dd944db72b99742c197ec53
3
+ metadata.gz: 05413b164ca4a261a4b6366d8a44a7ca52f1370a
4
+ data.tar.gz: de38cb9bb4f4b741e89b2f5eefebf066d8546602
5
5
  SHA512:
6
- metadata.gz: 23f6be7ca2e98c13f4ad028a67516171631fd0537a4d07a597b519f6a97815bc40397def6739d3758bd35374f34988ace0fcd9b9cab78f3fc1a28bc1538b15ff
7
- data.tar.gz: 70a85d00057dcd23725fe67d08a9013ba2e19c45bd87a42f38a719f1eae9bb079b6f2913b1c7d60eaa9c236256675d103c93f550b1a031f8647ead8963ac8350
6
+ metadata.gz: 519c56b25550056d23c398d78032529f19e3574b3f59ca028e346432b1b040ddc4e716d2514edd455f16b1cf6daf3c4f77ce74daf2398d96b085b2367b9552c7
7
+ data.tar.gz: 2563866e335486605a9ee6e6d73eef371a6c570c4e0a163ff729e3d8001b74e30817b94501185b6c032015aecbf056a69829980834d5f1c514fce45cf491d9fe
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
@@ -16,8 +16,7 @@ module Rack
16
16
 
17
17
  def invalid_request?(env)
18
18
  Strategy::PROCESSIBLE_KEYS.any? do |key|
19
- value = env[key].to_s.force_encoding(Encoding::UTF_8)
20
- !value.valid_encoding?
19
+ !env[key].to_s.valid_encoding?
21
20
  end
22
21
  end
23
22
 
@@ -2,11 +2,11 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: rack-encoding_guard 0.1.0 ruby lib
5
+ # stub: rack-encoding_guard 0.1.1 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "rack-encoding_guard"
9
- s.version = "0.1.0"
9
+ s.version = "0.1.1"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-encoding_guard
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tobias Casper