diff options
author | Jacob Helwig <jacob@puppetlabs.com> | 2011-08-02 11:13:21 -0700 |
---|---|---|
committer | Jacob Helwig <jacob@puppetlabs.com> | 2011-08-02 16:34:00 -0700 |
commit | 5314376d4378c4b4f990a7d61a9677594e12a2a5 (patch) | |
tree | e078458925844933ef406085520cb8071d7ab307 /test/util/autoload.rb | |
parent | 568d25ee10effd5e87c57cdc8c24280eabf9cd93 (diff) | |
download | puppet-5314376d4378c4b4f990a7d61a9677594e12a2a5.tar.gz puppet-5314376d4378c4b4f990a7d61a9677594e12a2a5.tar.xz puppet-5314376d4378c4b4f990a7d61a9677594e12a2a5.zip |
Always put a slash between the checksum and path in filebucket URLs
Since absolute paths on Windows do not always start with /, we need to
make sure that there is always a slash between the checksum and the
path, or the drive letter will end up being considered as part of the
checksum.
On systems where absolute paths always start with /, the extra slash
is removed by the parsing done to the constructed URL.
Reviewed-by: Nick Lewis <nick@puppetlabs.com>
Diffstat (limited to 'test/util/autoload.rb')
0 files changed, 0 insertions, 0 deletions