Skip to content

bug: The download path generated by the uploaded file is incorrect #137

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

Open
deng-rui opened this issue Mar 26, 2025 · 0 comments
Open

bug: The download path generated by the uploaded file is incorrect #137

deng-rui opened this issue Mar 26, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@deng-rui
Copy link

deng-rui commented Mar 26, 2025

What happened?

The image is a (TXT/Bat) file that we uploaded :
Image

It cannot be read to display text content
If you use the link generated by the download as follows :
https://*.*.com/autumn/attachments/download/UWlZ0SsauCqj2tcNsXqpBFoWmqUeFbrumSIrdL__Pa
If the link is generated by sharing, it will look like this :
https://*.*.com/autumn/attachments/UWlZ0SsauCqj2tcNsXqpBFoWmqUeFbrumSIrdL__Pa/Clean%20Image%20Cache.bat

The former cannot be downloaded, the latter can be accessed normally. Missing filenames, resulting in files not being downloaded/accessed.

I think it might be a routing issue ? Many thanks to the team for their work !

All are built using the default configuration :

git clone https://github.com/revoltchat/self-hosted revolt
cd revolt
chmod +x ./generate_config.sh
./generate_config.sh your.domain
docker compose up
@deng-rui deng-rui added the bug Something isn't working label Mar 26, 2025
@github-project-automation github-project-automation bot moved this to 🆕 Untriaged in Revolt Project Mar 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: 🆕 Untriaged
Development

No branches or pull requests

1 participant