Skip to content

Conversation

c33s
Copy link
Contributor

@c33s c33s commented Dec 5, 2017

@pegasd
Copy link
Contributor

pegasd commented Dec 5, 2017

Should the contain a "." part be here?

@c33s
Copy link
Contributor Author

c33s commented Dec 6, 2017

oh this was a wrong assumption. i digged through an puppetlabs-lvm error to stdlib::absolutepath which is using unixpath. so a assumed it has to be a absolute unix path which also does not contain any relative parts (/home/../etc)

i remove the dots part from the PR

tested the regex with https://regex101.com/

is/should this be a valid unixpath?

/./......../'''ääÄÄÄvffoo/ü/:\\-__##../bar/com

@eputnam
Copy link
Contributor

eputnam commented Dec 6, 2017

That is a valid unix path, yes.

@tphoney
Copy link
Contributor

tphoney commented Dec 11, 2017

Thanks @c33s !

@tphoney tphoney merged commit c95ae34 into puppetlabs:master Dec 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants