summaryrefslogtreecommitdiff
path: root/types
diff options
context:
space:
mode:
authorWilson McCoubrey <wilson@mccoubreys.co.uk>2017-03-16 13:40:26 +0000
committerGitHub <noreply@github.com>2017-03-16 13:40:26 +0000
commit2a7c2beddb76fbfc98121acc34b53f925d5232ad (patch)
tree0059f8ab3910f6d2adc8fb9950e88241d790b4d6 /types
parent08d96808c63535da8280477a01631c9b67463595 (diff)
parent0bca13947be9f55b7456cc78e2ba979bd7aa1c8c (diff)
Merge pull request #740 from domcleal/abspath-double-slash
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]+\/*)+$/]