Change in ovirt-engine[master]: webadmin: Use /api/ instead of /api

ecohen at redhat.com ecohen at redhat.com
Wed Nov 20 15:55:24 UTC 2013


Einav Cohen has submitted this change and it was merged.

Change subject: webadmin: Use /api/ instead of /api
......................................................................


webadmin: Use /api/ instead of /api

The GUI uses the /api URL to get a RESTAPI session that can then be used
by plugins. When using basic authentication this means that the browser
will remember the credentials and send them back to any request for URLs
with paths starting with /, all. With the trailing slash it will send
them only to URLs ending with /api/.

Change-Id: I096a8769ff018f60366ab4ec8d2425c7f8d0f7e2
Bug-Url: https://bugzilla.redhat.com/1032508
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
---
M frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/plugin/restapi/RestApiSessionManager.java
1 file changed, 4 insertions(+), 1 deletion(-)

Approvals:
  Michael Pasternak: Looks good to me, approved
  Juan Hernandez: Verified
  Alexander Wels: Looks good to me, but someone else must approve
  Einav Cohen: Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I096a8769ff018f60366ab4ec8d2425c7f8d0f7e2
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernandez 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: Michael Pasternak <mpastern at redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali at redhat.com>
Gerrit-Reviewer: Vojtech Szocs <vszocs at redhat.com>
Gerrit-Reviewer: Yaniv Dary <ydary at redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list