mirror of
https://github.com/imgfloat/server.git
synced 2026-02-05 11:49:25 +00:00
Sanitize log input
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user