Escape request values in log messages (#7921)

This commit is contained in:
Daniel García authored and GitHub committed 2026-11-01 22:38:18 +01:00
1 parent 5d870b796f
commit 6ed6921cc2
9 files changed
+41 -24

No files matched your search

+1 -1
View File
@@ -112,7 +112,7 @@ async fn login(data: Form<ConnectData>, client_header: ClientHeaders, conn: DbCo
.await?;
Ok(Json(tokens.to_json()))
}
t => err!("Invalid type", t),
t => err!("Invalid type", t.escape_debug().to_string()),
};
if let Some(user_id) = user_id {