From: gggeek Date: Fri, 25 Nov 2022 11:06:02 +0000 (+0000) Subject: add one missing html escape call to a demo file X-Git-Tag: 4.9.0~20 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=aac4988efe3985a673c8d2e15e84d33e161f0046;p=plcapi.git add one missing html escape call to a demo file --- diff --git a/demo/client/introspect.php b/demo/client/introspect.php index 1c74ee69..b4a0dca1 100644 --- a/demo/client/introspect.php +++ b/demo/client/introspect.php @@ -31,7 +31,7 @@ if ($resp->faultCode()) { // Then, retrieve the signature and help text of each available method foreach ($v as $methodName) { - output("

" . $methodName->scalarval() . "

\n"); + output("

" . htmlspecialchars($methodName->scalarval()) . "

\n"); // build messages first, add params later $m1 = new PhpXmlRpc\Request('system.methodHelp'); $m2 = new PhpXmlRpc\Request('system.methodSignature');