2010-11-29 Ramon Novoa <rnovoa@artica.es>

* lib/PandoraFMS/Tools.pm: Added ' to the list of characters to HTML
	  encode.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3642 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
Ramon Novoa 2010-11-29 12:56:58 +00:00
parent a639c24f62
commit 823d5bd602
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2010-11-29 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Tools.pm: Added ' to the list of characters to HTML
encode.
2010-11-22 Raúl Mateos <raulofpandora@gmail.com> 2010-11-22 Raúl Mateos <raulofpandora@gmail.com>
* pandora_server_upgrade, pandora_server_installer, README: Updated version * pandora_server_upgrade, pandora_server_installer, README: Updated version

View File

@ -85,7 +85,7 @@ sub pandora_trash_ascii {
sub safe_input($) { sub safe_input($) {
my $value = shift; my $value = shift;
$value = encode_entities ($value, "<>&"); $value = encode_entities ($value, "'<>&");
#//Replace the character '\' for the equivalent html entitie #//Replace the character '\' for the equivalent html entitie
$value =~ s/\\/&#92;/gi; $value =~ s/\\/&#92;/gi;