mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-30 10:42:37 +02:00
Security: GUI (via CLI) wildcard injection mitigation
Similar to the mitigation implemented in the CLI version of dangerzone
(commit f9b564be
)
This commit is contained in:
parent
2e477b8a12
commit
fc3cfba450
1 changed files with 4 additions and 0 deletions
|
@ -1,3 +1,4 @@
|
|||
import functools
|
||||
import logging
|
||||
import os
|
||||
import platform
|
||||
|
@ -122,3 +123,6 @@ def gui_main(filenames: Optional[List[str]]) -> bool:
|
|||
|
||||
def setup_logging() -> None:
|
||||
logging.basicConfig(level=logging.DEBUG, format="[%(levelname)s] %(message)s")
|
||||
|
||||
|
||||
args.override_parser_and_check_suspicious_options(gui_main)
|
||||
|
|
Loading…
Reference in a new issue