fix length ratio range
This commit is contained in:
parent
56ccf10efa
commit
18f5b43d90
@ -260,7 +260,7 @@ class FormulaAuditor
|
|||||||
end
|
end
|
||||||
|
|
||||||
lenratio = (100 * secure_details[:file].length / details[:file].length).to_i
|
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."
|
"The URL #{url} may be able to use HTTPS rather than HTTP. Please verify it in a browser."
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user