fix possible vulnerability loading template parser
This commit is contained in:
parent
0f475dd013
commit
4e9a2c07c2
3 changed files with 47 additions and 7 deletions
|
|
@ -58,6 +58,11 @@ use Exception::Class (
|
|||
isa => 'WebGUI::Error',
|
||||
description => "A template has errors that prevent it from being processed.",
|
||||
},
|
||||
'WebGUI::Error::NotInConfig' => {
|
||||
isa => 'WebGUI::Error',
|
||||
description => 'A module was requested that does not exist in the configuration file.',
|
||||
fields => [qw{ module configKey }],
|
||||
},
|
||||
);
|
||||
|
||||
sub WebGUI::Error::full_message {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue