summaryrefslogtreecommitdiff
path: root/lib/ftp.pl
diff options
context:
space:
mode:
authorPerl 5 Porters <perl5-porters@africa.nicoh.com>1996-05-01 02:00:50 +0000
committerCharles Bailey <bailey@genetics.upenn.edu>1996-05-01 02:00:50 +0000
commit2ad7ff014759aa9fadb78f58b37ef1455a4f660e (patch)
tree15ac5ddc4268eeca0e557fac8a9aceceeab6512a /lib/ftp.pl
parentdffa8cde9002476ae514bd0d995e9a1310014b8c (diff)
downloadperl-2ad7ff014759aa9fadb78f58b37ef1455a4f660e.tar.gz
Escape literal "@" in string
Diffstat (limited to 'lib/ftp.pl')
-rw-r--r--lib/ftp.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ftp.pl b/lib/ftp.pl
index f366cdb6fd..bfddcb8837 100644
--- a/lib/ftp.pl
+++ b/lib/ftp.pl
@@ -245,7 +245,7 @@ sub ftp'login
local( $remote_user, $remote_password ) = @_;
if( $proxy ){
- &ftp'send( "USER $remote_user@$site" );
+ &ftp'send( "USER $remote_user\@$site" );
}
else {
&ftp'send( "USER $remote_user" );