Escape literal "@" in string
Perl 5 Porters [Wed, 1 May 1996 02:00:50 +0000 (02:00 +0000)]
lib/ftp.pl

index f366cdb..bfddcb8 100644 (file)
@@ -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" );