Rocket.Chat icon indicating copy to clipboard operation
Rocket.Chat copied to clipboard

No error page when connecting to wrong url https://[server_name]/[wrong_name]

Open jblobel opened this issue 9 years ago • 2 comments

Rocket.Chat Version: 0.49.2 Running Instances: 1 DB Replicaset OpLog: 79 Node Version: 4.7.1

When connecting with a browser (Firefox 45 ESR) to an URL like https://[rocket_chat_server]/[random_name] user get no error report and is not redirected anywhere. He is connected but have no clue what to do.

Same thing happen in the demo server (see gif attached) : go to https://demo.rocket.chat/nothingthere and see by yourself.

bugreport

User should be redirected to an error page, and see his sidebar so he would be able to join another room.

jblobel avatar Mar 15 '17 16:03 jblobel

Or redirected to the main page. perhaps an Admin option of where to redirect 404 would be ideal.

Dracozny avatar Mar 15 '17 16:03 Dracozny

I guess it would be good to give user feedback, so he can aware of his error, and readjust his bookmark for example.

jblobel avatar Mar 16 '17 15:03 jblobel