Address path traversal and other security fixes

This commit is contained in:
Cameron committed 2026-04-10 14:58:57 -04:00
1 parent e1c32b6584
commit da16fddce3
4 files changed
+19 -18

No files matched your search

+1 -1
View File
@@ -85,7 +85,7 @@ impl FromRequest for Claims {
)
.and_then(|header| {
Claims::from_str(header)
.with_context(|| format!("Unable to decode token from: {}", header))
.with_context(|| "Unable to decode token from Authorization header")
})
.map_or_else(
|e| {