don't allow 1 pixel favicons
This commit is contained in:
parent
b94427f200
commit
ca06a91dc6
1 changed files with 2 additions and 0 deletions
|
|
@ -18,6 +18,8 @@ FROM (
|
|||
WHERE i.scan_state = 'completed'
|
||||
AND i.s3_key IS NOT NULL
|
||||
AND i.content_type NOT IN ('image/svg+xml')
|
||||
AND (i.width IS NULL OR i.width > 2)
|
||||
AND (i.height IS NULL OR i.height > 2)
|
||||
ORDER BY i.host_id,
|
||||
CASE
|
||||
WHEN i.width = i.height AND i.width IN (64, 48, 32, 16) THEN 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue