focalboard
focalboard copied to clipboard
Bug: Link with specific characters are double encoded
Steps to reproduce the behavior
- Add a comment on a ticket and add a link with spaces or another custom character.
- Try with :
https://example.com?title=August 1 - 2022
orhttps://example.com?title=August%201%20-%202022
For the first link, it is cut and it is not possible to use it entirely event if I try to do some markdown.
For the second link, the link is reinterpreted to https://example.com?title=August%25201%2520-%25202022
.
Expected behavior
If I click I must be able to redirect on the same link.
Edition and Platform
- Edition: Focalboard on Unraid
- Version: 7.1.0
- Browser and OS: Firefox
@wuwinson, please investigate the expected behavior. Thanks.
This can be fixed by unencoding, then encoding.
Expected behavior:
-
https://example.com?title=August 1 - 2022
should take user to URL prior to any spacing, in this case it should direct user tohttps://example.com?title=August
-
https://example.com?title=August%201%20-%202022
should not encode the '%', and instead direct user to the URL as is.
3: In a markdown link, 1.
must be encoded correctly