summaryrefslogtreecommitdiff
path: root/tests/FTPServer.pm
diff options
context:
space:
mode:
Diffstat (limited to 'tests/FTPServer.pm')
-rw-r--r--tests/FTPServer.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/FTPServer.pm b/tests/FTPServer.pm
index a5185d6..cac8094 100644
--- a/tests/FTPServer.pm
+++ b/tests/FTPServer.pm
@@ -589,7 +589,7 @@ sub new
foreach my $file (keys %{$self->{_input}})
{
my $ref = \$self->{_input}{$file}{content};
- $$ref =~ s/{{port}}/$self->sockport/eg;
+ $$ref =~ s/\Q{{port}}/$self->sockport/eg;
}
return $self;