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

name/link of channel/room in email notifications doesn't work with subfolder

Open peccu opened this issue 10 years ago • 4 comments

Your Rocket.Chat version: 0.36.0

PR #3814 is not work when ROOT_URL with subfolder.

My ROOT_URL is http://domain/subfolder.

notification mail link is like http://domain/subfolderdirect/name.

Is my ROOT_URL is wrong?

peccu avatar Aug 03 '16 05:08 peccu

We must try to replace all calls to ROOT_URL with a specific method that makes sure the returned string ends with a /

engelgabriel avatar Aug 08 '16 13:08 engelgabriel

Hey the issue is being worked on here #3946 we hope it solves your problem!

MartinSchoeler avatar Aug 09 '16 14:08 MartinSchoeler

umm... current develop branch(0762aeafb9000a32ed809cd0e84546097dbc7788) still generates wrong url. PR #3946 changes url from http://domain/subfolderdirect/name to http://domain/direct/name.

I think it should http://domain/subfolder/direct/name.

peccu avatar Aug 12 '16 09:08 peccu

This issue needs fixes like this PR. #3981

peccu avatar Aug 15 '16 05:08 peccu