Describe the bug
Prompt passes to dream.py without escaping of arguments. In result, field "Prompt" can be used to set dream.py's optional arguments and possible break processing.
To Reproduce
Steps to reproduce the behavior:
Enter text, which includes any valid or invalid dream.py's argument into Prompt field of the GUI. e.x: "-h", "-asd", "- asd"
Click on 'Generate!'
Wait for "Done!" in log field of bottom right in the window (or in the sessionlog.txt).
Invalid aruments will leave error message "dream.py: error: unrecognized arguments:", valid arguments will either apply to processing or render help information into log.
Expected behavior
It could be either:
No errors and everything works fine (ha-ha sorry)
Showing proper error message in the log field.
Processing as if no arguments are expected in Prompt field and all the text in it assumed as prompt
Screenshots
Desktop (please complete the following information):
Describe the bug Prompt passes to dream.py without escaping of arguments. In result, field "Prompt" can be used to set dream.py's optional arguments and possible break processing.
To Reproduce Steps to reproduce the behavior:
Expected behavior It could be either:
Screenshots
Desktop (please complete the following information):