Foundry376 / Mailspring

:love_letter: A beautiful, fast and fully open source mail client for Mac, Windows and Linux.
https://getmailspring.com/
GNU General Public License v3.0
15.42k stars 900 forks source link

Fix: Colons are allowed in URL paths. #2458

Closed choptastic closed 1 year ago

choptastic commented 1 year ago

Currently, URLs that look like:

http://example.com/something:with:colons

Only parses http://example.com/something as a link. This fixes that, as the URLs above are allowed.

This does not parse a trailing :, so that something like this:

http://example.com/something: This is a link to something

The link will be parsed to http://example.com/something and not to http://example.com/something: