mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
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
fd39f45fea
commit
47188864a8
@ -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…
x
Reference in New Issue
Block a user