mirror of
https://github.com/aclist/dztui.git
synced 2026-10-30 06:32:53 +01:00
This commit is contained in:
1 parent
2418d8be68
commit
78151b3bb3
2 files changed
+1
-2
No files matched your search
@@ -4,7 +4,7 @@ from typing import Literal
|
||||
|
||||
api_filter = r"(.*&key=)([^&]*)(.*)"
|
||||
# FIXME: handle whitespace after directory name ($HOME root)
|
||||
home_filter = r"(/home/)([^/]*)(.*)"
|
||||
home_filter = r"(/home/)([^\s'\/]*)(.*)"
|
||||
REDACTED = r"\1REDACTED\3"
|
||||
REDACTION_PATTERNS = [api_filter, home_filter]
|
||||
|
||||
|
||||
Reference in new issue
Block a user