ssl_enforcer 0.2.1 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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