forked from puppetlabs/puppet
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(PUP-6036) Escape path when validating content_uri
The content_uri metadata is composed from the source scheme, host, and port, and the path of the file on disk, relative to the per-environment directory. Since the path can contain characters that must be percent-encoded, e.g. 'foo%bar', we need to escape the path prior to trying to parse the URI.
- Loading branch information
1 parent
9453f09
commit 3daa532
Showing
2 changed files
with
8 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters