in lib/cc/config/validation/fetch_validator.rb [61:74]
def validate_path(path)
if path.nil? || path.length.zero?
errors << "fetch section's 'path' cannot be empty"
else
pathname = Pathname.new(path)
if pathname.absolute?
errors << "fetch section: absolute path '#{path}' is invalid"
end
if pathname.cleanpath.to_s != pathname.to_s || path.include?("..")
errors << "fetch section: relative path elements in '#{path}' are invalid"
end
end
end