fix length ratio range

This commit is contained in:
Viktor Szakats 2017-08-29 17:02:27 +00:00
parent 56ccf10efa
commit 18f5b43d90

View File

@ -260,7 +260,7 @@ class FormulaAuditor
end
lenratio = (100 * secure_details[:file].length / details[:file].length).to_i
return if lenratio < 90 || lenratio > 120
return if lenratio < 90 || lenratio > 110
"The URL #{url} may be able to use HTTPS rather than HTTP. Please verify it in a browser."
end