bareos: master c39d2cc6

Author Committer Branch Timestamp Parent
pstorz arogge master 2019-10-29 18:44 master e8ab2d0a Pending
Changeset lib: IsNameValid(): disallow leading and trailing spaces

Names with leading and trailing space are now illegal.
Also added a unit test that checks that IsNameValid() works
as expected.
mod - core/src/lib/edit.cc Diff File
mod - core/src/tests/CMakeLists.txt Diff File
add - core/src/tests/test_is_name_valid.cc Diff File