mod_http_avatar/mod_http_avatar.lua
changeset 5724 0f103a6e9ba4
parent 3088 5b4e7db5943c
--- 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