Skip to content

Commit

Permalink
Item13788: Encode the output from the environment.
Browse files Browse the repository at this point in the history
  • Loading branch information
gac410 committed Oct 8, 2015
1 parent 9a10711 commit 4784cac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/lib/Foswiki/Macros/SERVERINFORMATION.pm
Expand Up @@ -91,6 +91,7 @@ DONE
$value =~ s/%3D/=/g;
}
$value =~ s/\n/\\n/g if defined $value;
$value = Foswiki::entityEncode($value);
$report .=
"| $key | " . ( ( defined $value ) ? $value : '_undef_' ) . " |\n";
}
Expand Down

0 comments on commit 4784cac

Please sign in to comment.