Sanitize log input

This commit is contained in:
2026-01-05 18:20:12 +01:00
parent 68b23ee190
commit 7c0b3eaff1
8 changed files with 41 additions and 25 deletions

View File

@@ -115,9 +115,9 @@ class ChannelApiIntegrationTest {
mockMvc
.perform(
delete("/api/channels/{broadcaster}/assets/{id}", broadcaster, assetId).with(
oauth2Login().attributes((attrs) -> attrs.put("preferred_username", broadcaster))
).with(csrf())
delete("/api/channels/{broadcaster}/assets/{id}", broadcaster, assetId)
.with(oauth2Login().attributes((attrs) -> attrs.put("preferred_username", broadcaster)))
.with(csrf())
)
.andExpect(status().isOk());
}