Juan Hernandez has uploaded a new change for review.

Change subject: core: Preserve 404 error code in error page (#842653)
......................................................................

core: Preserve 404 error code in error page (#842653)

https://bugzilla.redhat.com/842653

We used to redirect to the error page in order to avoid problems
with relative URLs, but this is causing problems with clients (GWT
for example) that follow the redirect and this don't recieve the
error code. This patch replaces the redirect with forward and
fixes the error page (the index page in fact) so that it doesn't
use relative URLs.

Change-Id: I84001b195c06ae8be38e500ba687353080d04830
Signed-off-by: Juan Hernandez <[email protected]>
---
D 
backend/manager/modules/root/src/main/java/org/ovirt/engine/core/ErrorServlet.java
M backend/manager/modules/root/src/main/webapp/WEB-INF/web.xml
M backend/manager/modules/root/src/main/webapp/index.html
3 files changed, 6 insertions(+), 35 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/73/6573/1
--
To view, visit http://gerrit.ovirt.org/6573
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I84001b195c06ae8be38e500ba687353080d04830
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to