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

Trailing slash from URL gets cut off (visually)

Open rndmh3ro opened this issue 9 years ago • 5 comments

When pasting an URL with a trailing slash, the slash gets cut off visually. If I click the URL, the slash is still there, though. Write https://example.com/group/test/, but https://example.com/group/test gets shown. But if I actually click the URL https://example.com/group/test/ gets opened.

grafik

Expactation: the URL is shown with the slash.

Rocket.Chat Version: 0.57.2 Running Instances: 1 DB Replicaset OpLog: activated Node Version: v4.2.6

rndmh3ro avatar Jul 19 '17 13:07 rndmh3ro

Same here on 0.56.0 and 0.57.1

localguru avatar Jul 19 '17 15:07 localguru

@rndmh3ro Does it cause any problems? Please state them.

pkgodara avatar Jul 21 '17 08:07 pkgodara

There are no problems. One could have a problem if you want to copy-paste the url from within rocketchat. Then the trailing slash would be missing.

rndmh3ro avatar Jul 21 '17 08:07 rndmh3ro

Same here on 0.57.3.

@pkgodara yes!

The missing slash is a big problem if you work with hubot and hubot-rss-rolf

https://github.com/Flipez/hubot-rss-rolf

If you add a rss feed with

hubot rss add https://portal.cert.dfn.de/adv/rss/latest/

the feed is saved with the ending slash in the redis database.

If you want to delete this feed later and check your rss feed list with hubot rss list the trailing slash is not displayed. If you try to delete the feed without the trailing slash (because you don't remember the slash):

hubot rss delete https://portal.cert.dfn.de/adv/rss/latest

the feed is not found.

localguru avatar Aug 28 '17 11:08 localguru

Hi all ! I have the same problem with the android app of RocketChat because it deletes the trailing slash :(

himito avatar Mar 02 '18 08:03 himito