Comfy-Org / Comfy-Org/ComfyUI

[Bug, API] Can't view file with two dots in the name

Open
#12,352 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 7h
Merged PRs (30d)
158

Description

Requests like this `/view?filename=testesfgrt..png&subfolder=&type=input` always return *"400 Client Error: Bad Request"*, however the file exists, it works on backend itself inside prompt execution, but it doesn't show send it to client. I tried uploading and viewing file with the official frontend, and via api directly - file uploads, exists, but can't be viewed. With different files and names

Is it a bug, a feature to hide files, or I'm doing something wrong? Comfy version: 0.12.3

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.