mirror of
https://github.com/dani-garcia/vaultwarden.wiki.git
synced 2026-11-05 05:48:36 +02:00
Escape request values in log messages (#7921)
This commit is contained in:
1 parent
5d870b796f
commit
6ed6921cc2
9 files changed
+41
-24
No files matched your search
+1
-1
@@ -332,6 +332,6 @@ pub fn static_files(filename: &str) -> Result<EtagCached<&'static [u8]>, Error>
|
||||
if let Some(file) = STATIC_FILES.get(filename) {
|
||||
Ok(EtagCached::new(file.bytes, file.content_type.clone(), &file.etag))
|
||||
} else {
|
||||
err!(format!("Static file not found: {filename}"))
|
||||
err!(format!("Static file not found: {}", filename.escape_debug()))
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user