MvcMailer icon indicating copy to clipboard operation
MvcMailer copied to clipboard

The Mvc.Mailer.UrlHelperExtensions.Abs exception doesn't use the base url parameter in its format string

Open meataxe opened this issue 10 years ago • 0 comments

The Mvc.Mailer.UrlHelperExtensions.Abs exception doesn't use the base url parameter in its format string.

Currently it is: throw new Exception(string.Format("Could not create absolute url for {0} using baseUri{0}", relativeOrAbsoluteUrl, BaseUrl(urlHelper)));

But it should be: throw new Exception(string.Format("Could not create absolute url for {0} using baseUri{1}", relativeOrAbsoluteUrl, BaseUrl(urlHelper)));

meataxe avatar Jul 01 '14 23:07 meataxe