about summary refs log tree commit
diff options
context:
space:
mode:
authorGraham Barr <gbarr@pobox.com>1999-09-18 16:03:33 +0000
committerGraham Barr <gbarr@pobox.com>1999-09-18 16:03:33 +0000
commit024907cb1aa3d69165e59f9f0bdb5e8c509c44e6 (patch)
tree3bc90799a395414d21225d643df2910aededb55b
parente96eee8285c642fa59a3aacc19e5b9672269ff5b (diff)
downloadperl-libnet-024907cb1aa3d69165e59f9f0bdb5e8c509c44e6.tar.gz
Net::Netrc
- Applied patch from Randy Merrell to fix / escaping

-rw-r--r--Net/Netrc.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/Net/Netrc.pm b/Net/Netrc.pm
index 4588d5d..b6fee1f 100644
--- a/Net/Netrc.pm
+++ b/Net/Netrc.pm
@@ -11,7 +11,7 @@ use strict;
 use FileHandle;
 use vars qw($VERSION);
 
-$VERSION = "2.08"; # $Id: //depot/libnet/Net/Netrc.pm#4$
+$VERSION = "2.09"; # $Id: //depot/libnet/Net/Netrc.pm#4$
 
 my %netrc = ();
 
@@ -102,6 +102,8 @@ TOKEN:
         {
          next TOKEN unless $mach;
          my $value = shift @tok;
+         # Following line added by rmerrell to remove '/' escape char in .netrc
+         $value =~ s/\/\\/\\/g;
          $mach->{$1} = $value;
         }
        elsif($tok eq "macdef")