1 |
diff -Nur --no-dereference smeserver-mailalias-0.1.old/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/mailalias.pm smeserver-mailalias-0.1/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/mailalias.pm |
2 |
--- smeserver-mailalias-0.1.old/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/mailalias.pm 2011-09-27 22:15:23.000000000 -0400 |
3 |
+++ smeserver-mailalias-0.1/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/mailalias.pm 2022-07-23 20:25:02.797000000 -0400 |
4 |
@@ -180,7 +180,7 @@ |
5 |
or $msg = "Error occurred while creating mailalias in database."; |
6 |
|
7 |
# Untaint $pseudonym before use in system() |
8 |
- ($mailalias) = ($mailalias =~ /(.+)/); |
9 |
+ ($mailalias) = ($mailalias =~ /([\w\p{L}.]+)/ ); |
10 |
system( "/sbin/e-smith/signal-event", "mailalias-create", "$mailalias",) |
11 |
== 0 or $msg = "Error occurred while creating mailalias."; |
12 |
|
13 |
@@ -230,7 +230,7 @@ |
14 |
or $msg = "Error occurred while modifying mailalias in database."; |
15 |
|
16 |
# Untaint $mailalias before use in system() |
17 |
- ($mailalias) = ($mailalias =~ /(.+)/); |
18 |
+ ($mailalias) = ($mailalias =~ /([\w\p{L}]+.)/); |
19 |
system( "/sbin/e-smith/signal-event", "mailalias-modify", "$mailalias",) |
20 |
== 0 or $msg = "Error occurred while modifying mailalias."; |
21 |
|
22 |
@@ -268,7 +268,7 @@ |
23 |
#------------------------------------------------------------ |
24 |
|
25 |
# Untaint $mailalias before use in system() |
26 |
- ($mailalias) = ($mailalias =~ /(.+)/); |
27 |
+ ($mailalias) = ($mailalias =~ /([\w\p{L}]+.)/); |
28 |
system( "/sbin/e-smith/signal-event", "mailalias-delete", "$mailalias",) |
29 |
== 0 or $msg = "Error occurred while deleting mailalias."; |
30 |
|