mirror of
https://github.com/navidrome/navidrome.git
synced 2025-06-07 02:43:17 +03:00
Fix redaction for query parameters. Fix #1103
This commit is contained in:
parent
3e8d3e78c2
commit
702a65059f
@ -26,9 +26,9 @@ var redacted = &Hook{
|
|||||||
|
|
||||||
// Subsonic query params
|
// Subsonic query params
|
||||||
"([^\\w]t=)[\\w]+",
|
"([^\\w]t=)[\\w]+",
|
||||||
"([^\\w]s=)[\\w]+",
|
"([^\\w]s=)[^&]+",
|
||||||
"([^\\w]p=)[\\w]+",
|
"([^\\w]p=)[^&]+",
|
||||||
"([^\\w]jwt=)[\\w]+",
|
"([^\\w]jwt=)[^&]+",
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user