freescout-helpdesk / freescout

FreeScout — Free self-hosted help desk & shared mailbox (Zendesk / Help Scout alternative)
https://freescout.net
GNU Affero General Public License v3.0
2.67k stars 458 forks source link

[Bug]: Exclude non-URL character from a link while composing a ticket #4007

Open tanjiralmamun opened 2 weeks ago

tanjiralmamun commented 2 weeks ago

Description of the issue: Non-URL characters are included in a link while composing a ticket.

Screenshot: https://snipboard.io/vgIVrd.jpg

How to reproduce: Insert a link while composing a ticket and end with a non-URL character as shown in the screenshot to reproduce the issue

Expected Behavior: Non-URL characters should be included in a link while composing a ticket.

freescout-helpdesk commented 2 weeks ago

We'd appreciate a pull request.