diff options
author | David Schmitt <david@dasz.at> | 2010-05-17 16:35:40 +0200 |
---|---|---|
committer | test branch <puppet-dev@googlegroups.com> | 2010-02-17 06:50:53 -0800 |
commit | 58100ed223de98af93f2e1a4e6a3c57e958ef94c (patch) | |
tree | dc7cd96d02252061cca6b9e12cab7855e4694d1f /lib/puppet/file_serving/fileset.rb | |
parent | 1c016a1ed457af40fc627fa14cf3f93d1671f483 (diff) | |
download | puppet-58100ed223de98af93f2e1a4e6a3c57e958ef94c.tar.gz puppet-58100ed223de98af93f2e1a4e6a3c57e958ef94c.tar.xz puppet-58100ed223de98af93f2e1a4e6a3c57e958ef94c.zip |
Relax path qualification check on FileServing::Fileset
Diffstat (limited to 'lib/puppet/file_serving/fileset.rb')
-rw-r--r-- | lib/puppet/file_serving/fileset.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/file_serving/fileset.rb b/lib/puppet/file_serving/fileset.rb index a66d9356f..41765164e 100644 --- a/lib/puppet/file_serving/fileset.rb +++ b/lib/puppet/file_serving/fileset.rb @@ -59,7 +59,7 @@ class Puppet::FileServing::Fileset end def initialize(path, options = {}) - raise ArgumentError.new("Fileset paths must be fully qualified") unless path =~ /^#{::File::SEPARATOR}/ + raise ArgumentError.new("Fileset paths must be fully qualified") unless File.expand_path(path) == path @path = path |