dangerzone/dangerzone
Alex Pyrgiotis 699258543a
Fail if a provided suffix cannot be applied
If a user has provided an output filename for a document, then we should
no longer accept suffixes. The reason is that we can't do something
meaningful with it, as we can't alter the provided output filename.

The proper behavior is to reject this action with an exception. Note
that this acts more of a safeguard, since (currently) there is no path
where a user may add a suffix to a document that already has an output
filename.
2022-11-21 12:39:25 +00:00
..
gui Rename document_selected to documents_selected 2022-11-21 12:39:24 +00:00
__init__.py Remove separate dangerzone-container entry point, make CLI work with it, and refactor container code to be more DRY 2021-08-04 16:21:00 -07:00
args.py Security: cli wildcard injection mitigation 2022-11-14 08:53:38 +00:00
cli.py Pass Documents instead of file list in document_selected 2022-11-21 12:39:23 +00:00
container.py Update document state exclusively in convert() 2022-11-14 09:03:50 +00:00
document.py Fail if a provided suffix cannot be applied 2022-11-21 12:39:25 +00:00
errors.py Fail if a provided suffix cannot be applied 2022-11-21 12:39:25 +00:00
logic.py Pass Documents instead of file list in document_selected 2022-11-21 12:39:23 +00:00
settings.py Validate safe-extension (-safe.pdf) before converting 2022-11-21 12:38:09 +00:00
util.py move to util: get_subprocess_startupinfo 2022-09-15 10:40:36 +01:00