Fixes: U4-2653 BeginUmbracoForm should use absolute path with query string URLs without the protocol
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user