Gotcha with mailto URI equality
Posted July 5, 2012on:
I thought it might be a good idea to store email addresses as URIs in one scenario. But the oddest bug in my application turned out to be caused by this decision!
> new Uri("mailto:email@example.com") = new Uri("mailto:firstname.lastname@example.org");; val it : bool = true
The username@ part of an email address counts as user-information in the mailto scheme! Thanks, MSDN.