Forum OpenACS Development: Re: POST Method can be broken when using host node map

Collapse
Posted by Dave Bauer on
Why is the subsite coded into the POST url?

Can you give an example of a page where this happens? If you use relative URLs in the HTML the browser will construct the full URL based on the HTTP location.

Collapse
Posted by Eduardo Santos on
Sure, I can give you an example.

Check out these URL's:

http://mercado.softwarepublico.gov.br/register/

http://teste.softwarepublico.gov.br/mpv/register/

In both of them, the action link for register is /mpv/register. The request processor is going to redirect the request from /mpv/register to /register if you use host-node mapped URL, but the POST will fail because the bug I've mentioned above.

Right now the only way it works is because this patch I've supplied.