Textual links get cut short, if they contain exclamation points

Description

When I receive an email containing a raw link that contains a !, it gets cut off early, even though it shouldn’t.

To Reproduce…

Receive a link such as https://1drv.ms/w/s!abcdef.

Expected Behavior

The link getting recognized as such in its entirety, instead of just https://1drv.ms/w/s!abcdef .

Screenshots

image

Setup

  • OS and Version: Pop!_OS 21.04
  • Installation Method: snap
  • Mailspring Version: 1.9.2-6e14dad1