smsohan/MvcMailer

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

meataxe opened this issue · 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)));