flame 4.0.15 → 4.0.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/flame/static.rb +1 -1
- data/lib/flame/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 989ddfd1e75b461a27418e6fbcb87a5aaa3f1d43
|
4
|
+
data.tar.gz: d2f1d305b9e74f2b8b5672f91b71c33460ddcb67
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4db8444d523a7df72a5d3bffa12fa97bf24b7fd20b5f930b935174ae86eda222f19f22967a6de74e45a3b79314c4a53efe745c41aa8a2482672723357842836a
|
7
|
+
data.tar.gz: 7a659f6815edb885f70fc34c14b102b1a913b2f31f8e44ec0671acc82c60281b3d2ee98428414754a5568a03d331c0608b5486ba33d6e14d8b3a4dd5651a8479
|
data/lib/flame/static.rb
CHANGED
@@ -4,7 +4,7 @@ module Flame
|
|
4
4
|
module Static
|
5
5
|
## Find static files and try return it
|
6
6
|
def try_static(dir = config[:public_dir])
|
7
|
-
file = File.join(dir, request.path_info)
|
7
|
+
file = File.join(dir, URI.decode(request.path_info))
|
8
8
|
return nil unless File.exist?(file) && File.file?(file)
|
9
9
|
return_static(file)
|
10
10
|
end
|
data/lib/flame/version.rb
CHANGED