mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 20:20:07 +00:00
Fix vmail "taint" issue
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1051 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -601,6 +601,12 @@ sub message_rename()
|
||||
my $oldfile, $newfile;
|
||||
return if ($old eq $new) && ($oldfolder eq $newfolder);
|
||||
|
||||
if ($context =~ /^(\w+)$/) {
|
||||
$context = $1;
|
||||
} else {
|
||||
die("Invalid Context<BR>\n");
|
||||
}
|
||||
|
||||
if ($mbox =~ /^(\w+)$/) {
|
||||
$mbox = $1;
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user