HomePhorge

Always put a slash between the checksum and path in filebucket URLs
1e59b2680637Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

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>
(cherry picked from commit 5314376d4378c4b4f990a7d61a9677594e12a2a5)

Details

Provenance
Jacob Helwig <jacob@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU37f87b709598: Treat Windows absolute paths as absolute paths
Branches
Unknown
Tags
Unknown

Event Timeline

Jacob Helwig <jacob@puppetlabs.com> committed rPU1e59b2680637: Always put a slash between the checksum and path in filebucket URLs (authored by Jacob Helwig <jacob@puppetlabs.com>).Aug 19 2011, 10:52 PM