Automatic hyperlinking regex in plaintext mail incomplete


I have a plain text email containing a URL of the form “”. Mailspring only automatically hyperlinks it up to and including the second colon (“stra:”), when it should link the entire URL.

I’m guessing this might be special case handling for when people forget spaces after posting URLs, but I doubt that including the :/. makes sense in those cases - the token separator for URLs should just be whitespace or EOF.

To Reproduce…

Steps to reproduce the behavior:

  1. Send yourself a plaintext email containing the string “http://localhost/foo:bar hello”

Expected Behavior

The full URL is automatically hyperlinked.


  • OS and Version: Windows 10
  • Mailspring Version: 1.7.4

(Originally posted by moeffju on GitHub.)