Fixes: U4-2653 BeginUmbracoForm should use absolute path with query string URLs without the protocol

This commit is contained in:
Shannon
2013-08-21 11:14:37 +10:00
parent 66c6b5b524
commit f51c4e332e
2 changed files with 2 additions and 2 deletions

View File

@@ -466,7 +466,7 @@ namespace Umbraco.Web
Mandate.ParameterNotNullOrEmpty(action, "action");
Mandate.ParameterNotNullOrEmpty(controllerName, "controllerName");
var formAction = UmbracoContext.Current.OriginalRequestUrl.ToString();
var formAction = UmbracoContext.Current.OriginalRequestUrl.PathAndQuery;
return html.RenderForm(formAction, FormMethod.Post, htmlAttributes, controllerName, action, area, additionalRouteVals);
}