rack-fix-content-type 1.1 → 1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rack_fix_content_type/middleware.rb +1 -1
- metadata +6 -6
@@ -5,7 +5,7 @@ module RackFixContentType
|
|
5
5
|
end
|
6
6
|
|
7
7
|
def call(env)
|
8
|
-
fix_content_type(env["rack.request.form_hash"]) if env["rack.request.form_hash"]
|
8
|
+
fix_content_type(env["rack.request.form_hash"]) if env["rack.request.form_hash"]
|
9
9
|
@app.call(env)
|
10
10
|
end
|
11
11
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rack-fix-content-type
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '1.
|
4
|
+
version: '1.2'
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,11 +10,11 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2013-
|
13
|
+
date: 2013-03-04 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rack
|
17
|
-
requirement: &
|
17
|
+
requirement: &86108670 !ruby/object:Gem::Requirement
|
18
18
|
none: false
|
19
19
|
requirements:
|
20
20
|
- - ! '>='
|
@@ -22,10 +22,10 @@ dependencies:
|
|
22
22
|
version: '0'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
|
-
version_requirements: *
|
25
|
+
version_requirements: *86108670
|
26
26
|
- !ruby/object:Gem::Dependency
|
27
27
|
name: rails
|
28
|
-
requirement: &
|
28
|
+
requirement: &86108300 !ruby/object:Gem::Requirement
|
29
29
|
none: false
|
30
30
|
requirements:
|
31
31
|
- - =
|
@@ -33,7 +33,7 @@ dependencies:
|
|
33
33
|
version: 3.2.11
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
|
-
version_requirements: *
|
36
|
+
version_requirements: *86108300
|
37
37
|
description: fix the content type of form uploads by using the file-utility. A lot
|
38
38
|
of browsers screw up the content type so we don't trust the given value in the header.
|
39
39
|
email:
|