-
Notifications
You must be signed in to change notification settings - Fork 11.2k
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
Wrong url to download files (but preview is ok) when Rocket.Chat is accessed from a sub-url #14746
Comments
Same issue? #14472 |
I had this issue as well, but when I upgraded to version 1.1.0 it was fixed. I would recommend upgrading to at least 1.1.0 as it fixed a lot of other issues present in 1.0.3 as well. |
@rocket-cat label add duplicate |
@rocket-cat close Marking as duplicate of #14472 and fixed in PR #14485 Please upgrade for a fix |
Thank you, I did not see issue #14472 that is exactly the same as mine. |
I believe the SAML issue is fixed with #14686 but you'd need to build your own to get it right now. |
It has been integrated in the 1.1.1 and works just fine (both SAML and the file download). Thanks a lot for your support. |
Description:
My rocketchat instance is running at chat.xxx.zzz:3000 and is accessed through a reverse proxy via https://fqdn/apps/chat
I followed the instructions on how to set-up RocketChat in a subfolder behind a proxy and it works fine except when one tries to download files that have been uploaded for sharing.
The url used to provide access to the file is https://fqdn/file-upload/..... instead of https://fqdn/apps/chat/file-upload/... but the preview of the file is available! (in case the uploaded file is e.g. a png)
Steps to reproduce:
Expected behavior:
I should be able to view a shared file if it is in a suitable format and to download it (especially considering that the preview is working!)
Actual behavior:
I can view a shared file file if it is in a suitable format but cannot download it because the url is wrong.
Server Setup Information:
The text was updated successfully, but these errors were encountered: