URL with a special character in a comment post

Open Picture Posted in General Discussion 5 months ago

When I use a URL with a special character like for example https://patricksadler.com/Vidéos.html and post this in a comment I get the following Html result: <div class="post-contents"><p><a href="https://patricksadler.com/Vid" target="_blank">https://patricksadler.com/Vid</a>éos.html</p></div> which gives a wrong link in the comment https://patricksadler.com/K .
But posting the same URL with a URL encoded version works correctly: https://patricksadler.com/Vid%C3%A9os.html . Is there a solution for the link not getting split after the special character?

Replies
lu Open Picture Replied 5 months ago

Hello Arsalan,
I tried your github "commit" ( https://github.com/opensource-socialnetwork/opensource-socialnetwork/commit/a1efc4496aaa705f0906dd0bfddd635e80f9173a ) and thank you very much for your precious work.
Special characters in URLs now work without errors.

lu Open Picture Replied 5 months ago

Thank you for the useful hint. Here is the link to the bug report:
https://github.com/opensource-socialnetwork/opensource-socialnetwork/issues/2332#issue-2038519912