Image proxy always returns status code 200

Kirby

Well-known member
Affected version
2.2.15
No matter if an image exists or not and if the hash (if required) is correct or not - the image proxy always returns status 200.

This is IMHO semantically wrong and Google seems to consider such URLs as "soft 404".

Suggested Change
Return 404 if no image exists (or 410 it it existed in the past but was pruned)
Return 400 (or 403) if a required hash is missing or wrong
 
Top Bottom