Change in ovirt-engine[master]: webadmin, root: Control scope of cookies in root webapp

vszocs at redhat.com vszocs at redhat.com
Mon May 27 13:56:12 UTC 2013


Vojtech Szocs has submitted this change and it was merged.

Change subject: webadmin,root: Control scope of cookies in root webapp
......................................................................


webadmin,root: Control scope of cookies in root webapp

This patch ensures that both "langPageShown" and "locale"
cookies are explicitly scoped to root webapp context URL,
i.e. cookie path is "/".

The reason for scoping both cookies to "/" path is to make
them visible (available) to server-side code regardless of
the current request (i.e. /docs/xxx).

Change-Id: Id3beef969b96bad40bbeef86708c7f62b3b690ad
Bug-Url: https://bugzilla.redhat.com/966525
Signed-off-by: Vojtech Szocs <vszocs at redhat.com>
---
M backend/manager/modules/root/src/main/java/org/ovirt/engine/core/DocsServlet.java
M backend/manager/modules/root/src/main/java/org/ovirt/engine/core/SplashServlet.java
2 files changed, 7 insertions(+), 2 deletions(-)

Approvals:
  Vojtech Szocs: Verified; Looks good to me, approved


--
To view, visit http://gerrit.ovirt.org/15084
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Id3beef969b96bad40bbeef86708c7f62b3b690ad
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Vojtech Szocs <vszocs at redhat.com>
Gerrit-Reviewer: Alexander Wels <awels at redhat.com>
Gerrit-Reviewer: Einav Cohen <ecohen at redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali at redhat.com>
Gerrit-Reviewer: Vojtech Szocs <vszocs at redhat.com>



More information about the Engine-commits mailing list