ssl_enforcer 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/ssl_enforcer/enforcer.rb +1 -1
- data/lib/ssl_enforcer/version.rb +1 -1
- metadata +1 -1
@@ -54,7 +54,7 @@ class SSLEnforcer::Enforcer
|
|
54
54
|
## If the option was not passed, then we must assume to change all
|
55
55
|
## subdomains NOT responded to by @exceptions
|
56
56
|
if @only.empty?
|
57
|
-
return scheme == :https
|
57
|
+
return scheme.downcase.to_sym == :https
|
58
58
|
else
|
59
59
|
return true
|
60
60
|
end
|
data/lib/ssl_enforcer/version.rb
CHANGED