resizer
resizer copied to clipboard
Validate URI structure during signing.
Better to fail early; RemoteReader should Uri.IsWellFormedUriString(requestEventArgs.RemoteUrl, UriKind.Absolute) during CreateSignedUrl.
The use of Uri.IsWellFormedUriString is causing an exception for Urls that may technically be invalid but are in use and supported by most, if not all, browsers. Here is an example from Volvo's site:
https://www.volvopartshop.com/ekmps/shops/tmsvolvo/images/v50-roof-rail-end-caps-black--front-or-rear-front-side-right-hand-18052-p[ekm]299x224[ekm].jpg