Web Browser Control of Windows Form application not handle relative URL in form action?

  .net, c++, vb.net, windows, winforms

I have HTML that contains a form with a relative URL in the action, which is not working.

But when is uses a full URL it works fine.

So is there any property to set in the WebBrowser control for Windows Application?

Not Working Code:

form method="post" action="/_abc/xyz?re_url=kn" id="formSubmit" 

Working Code:

form method="post" action="https://somesite.local/_abc/xyz?re_url=kn" id="formSubmit" 

Source: Windows Questions

LEAVE A COMMENT