diff options
author | EyeDeck <eyedeck@gmail.com> | 2022-09-15 01:05:00 +0000 |
---|---|---|
committer | AUTOMATIC1111 <16777216c@gmail.com> | 2022-09-15 04:39:57 +0000 |
commit | dfb2e830d9f84fe5495c01ba0e70f5eaa2ce0bff (patch) | |
tree | d3934e09b2b9a5d3f5a486c57f7c6eaacd29c276 /modules/prompt_parser.py | |
parent | 4a626f6ea625b63fb802a7cfcf5f5116d44f776f (diff) | |
download | stable-diffusion-webui-gfx803-dfb2e830d9f84fe5495c01ba0e70f5eaa2ce0bff.tar.gz stable-diffusion-webui-gfx803-dfb2e830d9f84fe5495c01ba0e70f5eaa2ce0bff.tar.bz2 stable-diffusion-webui-gfx803-dfb2e830d9f84fe5495c01ba0e70f5eaa2ce0bff.zip |
Improved directory sanitization when --hide_ui_dir_config
Fixes an issue where it's still possible to write to arbitrary directories through careful use of \.. or /.. in directory patterns
...and fix the regex to work better
reeeegex
Diffstat (limited to 'modules/prompt_parser.py')
0 files changed, 0 insertions, 0 deletions