diff options
author | Milly <milly.ca@gmail.com> | 2022-09-20 06:01:32 +0000 |
---|---|---|
committer | AUTOMATIC1111 <16777216c@gmail.com> | 2022-09-20 06:46:44 +0000 |
commit | a8a75ec43a19ae4d2700aabb8ff855aa551ec7ac (patch) | |
tree | 25bd79dcf97cd32f8bf17e94747e6de92a9f69a2 /modules/ui.py | |
parent | 06e076e48af3b7111ff854f26820b90b5ca1cc5d (diff) | |
download | stable-diffusion-webui-gfx803-a8a75ec43a19ae4d2700aabb8ff855aa551ec7ac.tar.gz stable-diffusion-webui-gfx803-a8a75ec43a19ae4d2700aabb8ff855aa551ec7ac.tar.bz2 stable-diffusion-webui-gfx803-a8a75ec43a19ae4d2700aabb8ff855aa551ec7ac.zip |
Fixed filename part sanitizing
The following file patterns are invalid on Windows.
- Begin or end with the ASCII Space (0x20)
- End with the ASCII Period (0x2E)
For example, if `[prompt_spaces]` is specified as the directory name pattern, sometimes file saving may fail.
Diffstat (limited to 'modules/ui.py')
0 files changed, 0 insertions, 0 deletions