2011-10-19 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/Tools.pm: Fixed safe_input function to encode more characters git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5068 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
4b23aba7f8
commit
7253a6aa86
|
@ -1,3 +1,8 @@
|
|||
2011-10-19 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* lib/PandoraFMS/Tools.pm: Fixed safe_input function to encode
|
||||
more characters
|
||||
|
||||
2011-10-14 Koichiro Kikuchi <koichiro@rworks.jp>
|
||||
|
||||
* lib/PandoraFMS/Core.pm: Added _plugin_parameters_ macro to alerts.
|
||||
|
|
|
@ -90,7 +90,7 @@ sub pandora_trash_ascii {
|
|||
sub safe_input($) {
|
||||
my $value = shift;
|
||||
|
||||
$value = encode_entities ($value, "'<>&");
|
||||
$value = encode_entities ($value);
|
||||
|
||||
#//Replace the character '\' for the equivalent html entitie
|
||||
$value =~ s/\\/\/gi;
|
||||
|
|
Loading…
Reference in New Issue