-
Notifications
You must be signed in to change notification settings - Fork 6.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
URL-decode path from API #4754
URL-decode path from API #4754
Conversation
@@ -139,6 +140,9 @@ def get_user_data_path(request, check_exists = False, param = "file"): | |||
if not file: | |||
return web.Response(status=400) | |||
|
|||
# Decode URL-encoded file path | |||
file = urllib.parse.unquote(file); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You don't need that semicolon in python. :)
I would remove that.
file = urllib.parse.unquote(file); | |
file = urllib.parse.unquote(file) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@TobTobXX not sure why you marked this as resolved but didn't actually resolve it? There's still a semicolon there
Hey any updates on this? It's currently breaking my ComfyUI setup and makes it hard to update without it. If needed I can make the changes and submit another PR if it'll push this along faster. |
Tip: When running into breaking bugs like this, just download the fixing commit as a patch and apply it yourself. # Apply patches
COPY *.patch ./
RUN git apply *.patch && rm *.patch |
#4801 replaced this |
See #4753.