Links for uploaded files in any Rocket.Chat room don't refer to the files and trigger a 404 page which can't be dismissed without going back and refreshing the page.
A download dialog or an image preview is shown.
The following page is shown and can't be dismissed:

The file upload isn't needed to reproduce this. Every link on the same domain as the chat seems to do the same.
It seems to not be replacing spaces with %20, I have had several people encounter this issue, I can also replicate this in user to user messages.
Might be fixable by uri-encoding the links and the copy link
I am trying to work on this
Closed by #13756.
Most helpful comment
The file upload isn't needed to reproduce this. Every link on the same domain as the chat seems to do the same.