mirror of
https://github.com/dirtydishes/dreamio.git
synced 2026-06-06 13:37:24 +00:00
fix url redaction crash
This commit is contained in:
parent
d46004a98e
commit
6e220e6df9
4 changed files with 12 additions and 2 deletions
|
|
@ -197,8 +197,8 @@ enum URLRedactor {
|
|||
|
||||
components.query = nil
|
||||
components.fragment = nil
|
||||
if !components.percentEncodedPath.isEmpty {
|
||||
components.percentEncodedPath = redactTokenLikePathSegments(in: components.percentEncodedPath)
|
||||
if !components.path.isEmpty {
|
||||
components.path = redactTokenLikePathSegments(in: components.path)
|
||||
}
|
||||
return redactTokenLikeFragments(in: components.string ?? value)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue