]> wagnertech.de Git - mfinanz.git/blobdiff - bin/mozilla/admin.pl
Quoten von allen in regulären Ausdrücken verwendeten Variablen, die direkt oder indir...
[mfinanz.git] / bin / mozilla / admin.pl
index 3fba37cc8ccbdb757f37399eeeeb17481c743080..a24272b8ba375a4eead01c91bd57a17cbbd0bb1f 100644 (file)
@@ -438,7 +438,7 @@ sub save {
         open(TEMP, "$templates/$file")
           or $form->error("$templates/$file : $ERRNO");
 
-        $file =~ s/$form->{mastertemplates}-//;
+        $file =~ s/\Q$form->{mastertemplates}\E-//;
         open(NEW, ">$form->{templates}/$file")
           or $form->error("$form->{templates}/$file : $ERRNO");