mattrolf at me
Jul 2, 2010, 1:57 PM
Post #2 of 2
IIRC, that was added in because it was the only way we could get the files to the server. Feel free to try it without.
On 02 Jul, 2010,at 04:16 PM, "David E. Wheeler" <david [at] kineticode> wrote:
I'm refactoring Bric::Util::Trans::SFTP because it doesn't do error-handling properly. But I was wondering about this:
# Grab the base name and escape it.
my $orig_base = $fs->base_name($dest_file);
(my $escaped_base = $orig_base) =~ s/(.)/\\$1/g;
What is the point of the escaped version? Why backslash everything? This wasn't in the old version; look like you added it.