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

Mailing List Archive: Bricolage: commits

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

 

 

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


noreply at github

Nov 12, 2009, 10:23 AM

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

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

Commit: 9a07533e9912a6abd00f5ce1218ff787593b8bfa
http://github.com/bricoleurs/bricolage/commit/9a07533e9912a6abd00f5ce1218ff787593b8bfa
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?

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.