# HG changeset patch # User Emmanuel Gil Peyrot # Date 1700148352 -3600 # Node ID 0f103a6e9ba4a448f16ef349f7f333d2e76ea292 # Parent 18bae78282a65f088d537bbd79fcd62cea4f01f9 mod_http_avatar: Fix displaying the fallback on Firefox diff -r 18bae78282a6 -r 0f103a6e9ba4 mod_http_avatar/mod_http_avatar.lua --- a/mod_http_avatar/mod_http_avatar.lua Thu Nov 16 16:16:55 2023 +0100 +++ b/mod_http_avatar/mod_http_avatar.lua Thu Nov 16 16:25:52 2023 +0100 @@ -29,7 +29,8 @@ end end if not photo_type or not binval then - response.status_code = 404; + -- FIXME: should be a 404, but Firefox won’t display it in that case… + --response.status_code = 404; response.headers.content_type = "image/svg+xml"; return default_avatar; end