Change in ovirt-engine[ovirt-engine-3.5]: restapi: Remove trailing slashes from RSDL prefix

Tal Nisan has submitted this change and it was merged. Change subject: restapi: Remove trailing slashes from RSDL prefix ...................................................................... restapi: Remove trailing slashes from RSDL prefix The RSDL document is loaded lazily, as part of the first request to the RESTAPI. The prefix used to build the "href" attributes is extracted from the path of this first request, and depending on that request it may or may not contain a trailing slash. To make sure that the RSDL has always the same content we need to remove any trailing slashes from the prefix before using it. Change-Id: Ieac656924ca999ddc9abc502e3fc6c23537e4769 Bug-Url: https://bugzilla.redhat.com/1102772 Signed-off-by: Juan Hernandez <juan.hernandez@redhat.com> --- M backend/manager/modules/restapi/interface/definition/src/main/java/org/ovirt/engine/api/rsdl/RsdlManager.java 1 file changed, 5 insertions(+), 0 deletions(-) Approvals: Ravi Nori: Verified Juan Hernandez: Looks good to me, approved -- To view, visit http://gerrit.ovirt.org/31526 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ieac656924ca999ddc9abc502e3fc6c23537e4769 Gerrit-PatchSet: 2 Gerrit-Project: ovirt-engine Gerrit-Branch: ovirt-engine-3.5 Gerrit-Owner: Ravi Nori <rnori@redhat.com> Gerrit-Reviewer: Juan Hernandez <juan.hernandez@redhat.com> Gerrit-Reviewer: Oved Ourfali <oourfali@redhat.com> Gerrit-Reviewer: Ravi Nori <rnori@redhat.com> Gerrit-Reviewer: Tal Nisan <tnisan@redhat.com> Gerrit-Reviewer: automation@ovirt.org Gerrit-Reviewer: oVirt Jenkins CI Server
participants (1)
-
tnisan@redhat.com