Quantcast
Channel: EPPlus Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 2262

Commented Issue: EPPlus fails to load documents with malformed uris. [14709]

$
0
0
One of the applications my company uses always defaults to creating mailto: hyperlinks wherever it sees a @ sign when exporting to excel. Often this means that the URI is malformed and an UriFormatException is thrown when EPPlus tries to create the hyperlink. Unfortunately Uri.TryCreate and Uri.IsWellFormedUriString() both fail to detect this. The only way I could find to overcome this was to handle the exception. Patch attached.
Comments: Why didn't the patch make its way to the project's code ? It worked for me.

Viewing all articles
Browse latest Browse all 2262

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>