mirror of
https://github.com/aclist/dztui.git
synced 2026-10-25 12:12:31 +01:00
This commit is contained in:
1 parent
92792b0b4f
commit
8f1e4ff9d0
1 file changed
-1
@@ -3,7 +3,6 @@ import re
|
||||
from typing import Literal
|
||||
|
||||
api_filter = r"(.*&key=)([^&]*)(.*)"
|
||||
# FIXME: handle whitespace after directory name ($HOME root)
|
||||
home_filter = r"(/home/)([^\s'\/]*)(.*)"
|
||||
REDACTED = r"\1REDACTED\3"
|
||||
REDACTION_PATTERNS = [api_filter, home_filter]
|
||||
|
||||
Reference in new issue
Block a user