Doron Fediuck has submitted this change and it was merged.

Change subject: common: handle resources if path contains special characters
......................................................................


common: handle resources if path contains special characters

ClassLoader.getResource() returns URL, URL.getPath() returns URI
encoded string. Trying to use this string to access file will fail
without decoding it first.

Change-Id: Iff53340e6243b9e7c634ba00f30bac685b82ef80
Signed-off-by: Alon Bar-Lev <[email protected]>
---
M 
backend/manager/modules/dal/src/test/java/org/ovirt/engine/core/dal/dbbroker/generic/DomainsPasswordMapTest.java
M 
backend/manager/modules/restapi/interface/common/jaxrs/src/main/java/org/ovirt/engine/api/common/util/PackageExplorer.java
M 
backend/manager/modules/restapi/interface/common/jaxrs/src/main/java/org/ovirt/engine/api/common/util/ReflectionHelper.java
M 
backend/manager/tools/engine-config/src/test/java/org/ovirt/engine/core/config/EngineConfigTest.java
4 files changed, 14 insertions(+), 8 deletions(-)

Approvals:
  Doron Fediuck: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: Iff53340e6243b9e7c634ba00f30bac685b82ef80
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alon Bar-Lev <[email protected]>
Gerrit-Reviewer: Alex Lourie <[email protected]>
Gerrit-Reviewer: Allon Mureinik <[email protected]>
Gerrit-Reviewer: Alon Bar-Lev <[email protected]>
Gerrit-Reviewer: Doron Fediuck <[email protected]>
Gerrit-Reviewer: Eyal Edri <[email protected]>
Gerrit-Reviewer: Juan Hernandez <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to