Proxied url are wrongfully translated on forwarded actions
Automatic frontend engine for Java
Brought to you by:
javierpaniza
When using proxy as front end to OX web application URL are transformed to the target URL (proxied) when a forward action is performed.
The environment to reproduce this error requires a http server with proxy pass / reverse enabled. To understand the issue here is a case example.
URL on browser | Step | Comment |
---|---|---|
http://acme.own.com | Click enter on browser | This will produce the default behavior in OpenXava for an organization without module |
http://acme.own.com/o/acme/m/Signin | Write the user and password | The sign in action will execute a forward action to the default (or last) module |
http://webapp.openxava.org/o/acme/m/FirstSteps | While this URL is correct, the change of acme.own.com to webapp.openxava.org is not the desired behavior |
So far, it seems that the root of URL wrong translation occurs within the inners of dwr's ajax requests handling code.
Hi Federico,
To fix this you don't need an automated test because it requires a special configuration difficult to include in the regular suite.