summaryrefslogtreecommitdiff
path: root/types
diff options
context:
space:
mode:
authorDominic Cleal <dominic@cleal.org>2017-03-15 10:24:00 +0000
committerDominic Cleal <dominic@cleal.org>2017-03-15 10:26:58 +0000
commit0bca13947be9f55b7456cc78e2ba979bd7aa1c8c (patch)
tree9b7b71145a4406aae32b132bd1ee7d00b9838100 /types
parenta38c9b736a4fe92a27d15cbbd968031d9589732e (diff)
Permit double slash in absolute/Unix path types
Diffstat (limited to 'types')
-rw-r--r--types/unixpath.pp2
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]+\/*)+$/]