Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Why does UmbracoBeginForm render the full url in the action?
This is an issue for load balanced environments or off-loaded SSL environments. If the action is relative rather than absolute then the incoming hardware will route the request correctly.
Is there anyway to use UmbracoBeginForm without absolute urls?
Could it, in any way, be related to this issue? http://issues.umbraco.org/issue/U4-1321
"When we compute the NiceUrl of a node we walk the tree up to the first node that has hostnames configured. Then, if none of those hostnames match the current request, we create an absolute url because, really, you're pointing to another site. To create the absolute url, we need to pick one of the domain, and we have no way to tell which. So we pick the last one..."
@Dan... but... that's only when you're browsing www.example.com and you want the url of a node which is under domain www.another.com.
@Chris: do you have domains configured? What is the value of useDomainPrefixes?
Nope. The umbraco code doesn't look at the hostfiles at all, it just asks for Context.Request.Url.
The problem is that's not always what the website is actually exposed as, that's just what that individual server sees the url as. The request is routed through SSL and load balancing hardware.
@Stephen: No domains are configured and useDomainPrefixes is false
Thanks for the responses guys!
Chris did you find an answer to your original question?
Shannon pushed a build out that corrected this. Working as expected now. Full URL is no longer rendered in the action.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted