Apply all necessary exclusions to sobelow findings

This commit is contained in:
Claudio Ortolina
2026-03-07 18:37:24 +00:00
parent c87f946479
commit 2e3732e38b
6 changed files with 15 additions and 2 deletions
@@ -75,7 +75,7 @@ defmodule MusicLibraryWeb.AssetController do
# Format is always resolved to either "image/webp" or "image/jpeg" in
# pick_format/1, so it's safe.
# sobelow_skip ["XSS.ContentType"]
# sobelow_skip ["XSS.ContentType", "XSS.SendResp"]
defp respond_with_cache(conn, data, format, etag) do
conn
|> put_resp_content_type(format, "utf-8")