Change in ovirt-engine[ovirt-engine-4.1]: core: Prevent users from using spaces in NFS paths

Code Review gerrit at ovirt.org
Mon Jan 30 13:30:59 UTC 2017


>From Tal Nisan <tnisan at redhat.com>:

Tal Nisan has submitted this change and it was merged.

Change subject: core: Prevent users from using spaces in NFS paths
......................................................................


core: Prevent users from using spaces in NFS paths

Add a check to make sure no spaces are present in the
NFS mount path when adding a new storage domain

Change-Id: Ib7f5c9accfec262e774be7fbb1ea086a38b7958c
Bug-Url: https://bugzilla.redhat.com/1323663
Signed-off-by: Benny Zlotnik <bzlotnik at redhat.com>
(cherry picked from commit f727c310a133180e73db695493f376ffe0a23d35)
---
M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/utils/ValidationUtils.java
M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/validation/NfsMountPointConstraint.java
M backend/manager/modules/common/src/test/java/org/ovirt/engine/core/common/validation/NFSMountPointConstraintTest.java
3 files changed, 8 insertions(+), 1 deletion(-)

Approvals:
  Tal Nisan: Looks good to me, approved
  Benny Zlotnik: Verified
  Jenkins CI: Passed CI tests



-- 
To view, visit https://gerrit.ovirt.org/71381
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib7f5c9accfec262e774be7fbb1ea086a38b7958c
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-4.1
Gerrit-Owner: Benny Zlotnik <bzlotnik at redhat.com>
Gerrit-Reviewer: Benny Zlotnik <bzlotnik at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>


More information about the Engine-commits mailing list