Closed thisisjaymehta closed 2 months ago
@thisisjaymehta thanks, but this is a issue of parsing a link in window terminal, for Redis we should ouput a correct sentence, not an extra in the mid. on the other hand, we can copy the link to web browser.
But since a period is a valid URL character, it won't be possible for Terminal to distinguish if the period belongs to the sentence or the URL.
In that case, it's advisable to rewrite the sentence such that the URL is not at the end of the sentence, as advised here.
Possible rewrite could be: Being disabled, it can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328 for more details.
@thisisjaymehta actually, it only happened in windows terminal, it works in ubuntu terminal.
True, only happens in Windows Terminal.
Describe the bug
When clicking URL from below message in WSL2 Ubuntu:
It opens the URL with period at end in browser:
To reproduce
Use
redis-server --daemonize yes
in WSL2 UbuntuExpected behavior
It should open
https://github.com/jemalloc/jemalloc/issues/1328
instead ofhttps://github.com/jemalloc/jemalloc/issues/1328.
Additional information
Its probably has to do with how Windows Terminal detects links. One way to fix this would be to add space before period in
/src/syscheck.c
file where this message is defined. I am not sure if it goes against the style guidelines or its not to be fixed from redis side but from Windows Terminal.