Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Bricolage: commits

[bricoleurs/bricolage] fcbf80: Avoid `//` in distribution directory names

 

 

Bricolage commits RSS feed   Index | Next | Previous | View Threaded


noreply at github

Nov 12, 2009, 10:33 AM

Post #1 of 1 (607 views)
Permalink
[bricoleurs/bricolage] fcbf80: Avoid `//` in distribution directory names

Branch: refs/heads/rev_1_10
Home: http://github.com/bricoleurs/bricolage

Commit: fcbf802e0b73959c31afd26617a98b71de08abce
http://github.com/bricoleurs/bricolage/commit/fcbf802e0b73959c31afd26617a98b71de08abce
Author: David E. Wheeler <david [at] justatheory>
Date: 2009-11-12 (Thu, 12 Nov 2009)

Changed paths:
M lib/Bric/Changes.pod
M lib/Bric/Util/Trans/FTP.pm
M lib/Bric/Util/Trans/SFTP.pm
M lib/Bric/Util/Trans/WebDAV.pm

Log Message:
-----------
Avoid `//` in distribution directory names

This came up as a bug for a client: the FTP distributor was failing when the
destination file name was `/path/to//bricolage/uri/here`. So we remove the
leading `/` from Bricolage URIs to prevent the problem. Not sure if it applies
to SFTP or WebDAV, but it seems prudent to provide the same fix for them.

We could really use some tests for this stuff. Any volunteers?

Backported from master.

Bricolage commits RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.