rack-auditor 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rack/auditor.rb +2 -2
- data/rack-auditor.gemspec +1 -1
- metadata +1 -1
data/lib/rack/auditor.rb
CHANGED
@@ -55,8 +55,8 @@ module Rack
|
|
55
55
|
def inappropriate_request(env)
|
56
56
|
return false if @api_prefix == ''
|
57
57
|
|
58
|
-
|
59
|
-
return false if
|
58
|
+
uri = env['REQUEST_URI']
|
59
|
+
return false if uri.match(@api_prefix)
|
60
60
|
|
61
61
|
true
|
62
62
|
end
|
data/rack-auditor.gemspec
CHANGED