From aac4988efe3985a673c8d2e15e84d33e161f0046 Mon Sep 17 00:00:00 2001 From: gggeek Date: Fri, 25 Nov 2022 11:06:02 +0000 Subject: [PATCH] add one missing html escape call to a demo file --- demo/client/introspect.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'); -- 2.47.0