Malisius / booru2prompt

An extension for stable-diffusion-webui to convert image booru posts into prompts
58 stars 8 forks source link

Usernames with spaces don't work. #11

Open ThatDude79 opened 1 year ago

ThatDude79 commented 1 year ago

If the username has a space, that is not checked and replaced with %20 for a valid URL "http.client.InvalidURL: URL can't contain control characters." " (found at least ' ')"

A temporary user workaround is just to replace the " " with "%20" in the Username field of the Settings/API Keys tab. "User Name123" will not work "User%20Name123" will work

This mat be an issue with other characters if any other control characters can be in a booru username