diff options
author | Dominic Cleal <dominic@cleal.org> | 2017-03-15 10:24:00 +0000 |
---|---|---|
committer | Dominic Cleal <dominic@cleal.org> | 2017-03-15 10:26:58 +0000 |
commit | 0bca13947be9f55b7456cc78e2ba979bd7aa1c8c (patch) | |
tree | 9b7b71145a4406aae32b132bd1ee7d00b9838100 /types | |
parent | a38c9b736a4fe92a27d15cbbd968031d9589732e (diff) |
Permit double slash in absolute/Unix path types
Diffstat (limited to 'types')
-rw-r--r-- | types/unixpath.pp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/types/unixpath.pp b/types/unixpath.pp index 76f2c17..ec3bf7d 100644 --- a/types/unixpath.pp +++ b/types/unixpath.pp @@ -1,2 +1,2 @@ # this regex rejects any path component that is a / or a NUL -type Stdlib::Unixpath = Pattern[/^\/([^\/\0]+(\/)?)+$/] +type Stdlib::Unixpath = Pattern[/^\/([^\/\0]+\/*)+$/] |