git://git.onelab.eu
/
plcapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efebc9f
)
add one missing html escape call to a demo file
author
gggeek
<giunta.gaetano@gmail.com>
Fri, 25 Nov 2022 11:06:02 +0000
(11:06 +0000)
committer
gggeek
<giunta.gaetano@gmail.com>
Fri, 25 Nov 2022 11:06:02 +0000
(11:06 +0000)
demo/client/introspect.php
patch
|
blob
|
history
diff --git
a/demo/client/introspect.php
b/demo/client/introspect.php
index
1c74ee6
..
b4a0dca
100644
(file)
--- 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("<h4>" .
$methodName->scalarval(
) . "</h4>\n");
+ output("<h4>" .
htmlspecialchars($methodName->scalarval()
) . "</h4>\n");
// build messages first, add params later
$m1 = new PhpXmlRpc\Request('system.methodHelp');
$m2 = new PhpXmlRpc\Request('system.methodSignature');