actionpack 4.0.11 → 4.0.11.1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of actionpack might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/lib/action_dispatch/middleware/static.rb +2 -2
- data/lib/action_pack/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 85e2e9ad79e9b2427ae0b54b59e7cdb44e980bf1
|
4
|
+
data.tar.gz: 19b79c1f9d98ece539c158f365bd072a135ca0dc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f6989a33921f43e1a56ec26131995d906e677012e053d9e002c4c1d08529c56f99645fdc919e0f0f7655e80878106004e3b540222deb1a400dee7055e7ff4a4b
|
7
|
+
data.tar.gz: c335d5d026310d285e794fc67b03f5273e7e4a0adf8779a4a71b9c89687ff22f9cd3cb3f46ae592f26e177cc3cb7231d6231942f5cfcf15c1b7906f990329b09
|
@@ -19,7 +19,7 @@ module ActionDispatch
|
|
19
19
|
paths = "#{full_path}#{ext}"
|
20
20
|
|
21
21
|
matches = Dir[paths]
|
22
|
-
match = matches.detect { |m| File.file?(m) }
|
22
|
+
match = matches.detect { |m| File.file?(m) && File.readable?(m) }
|
23
23
|
if match
|
24
24
|
match.sub!(@compiled_root, '')
|
25
25
|
::Rack::Utils.escape(match)
|
@@ -42,7 +42,7 @@ module ActionDispatch
|
|
42
42
|
end
|
43
43
|
|
44
44
|
def escape_glob_chars(path)
|
45
|
-
path.gsub(/[*?{}\[\]]/, "\\\\\\&")
|
45
|
+
path.gsub(/[*?{}\[\]\\]/, "\\\\\\&")
|
46
46
|
end
|
47
47
|
|
48
48
|
private
|
data/lib/action_pack/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: actionpack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.11
|
4
|
+
version: 4.0.11.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Heinemeier Hansson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-11-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 4.0.11
|
19
|
+
version: 4.0.11.1
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 4.0.11
|
26
|
+
version: 4.0.11.1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: builder
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -86,14 +86,14 @@ dependencies:
|
|
86
86
|
requirements:
|
87
87
|
- - '='
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: 4.0.11
|
89
|
+
version: 4.0.11.1
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - '='
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: 4.0.11
|
96
|
+
version: 4.0.11.1
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: tzinfo
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|