diff options
Diffstat (limited to 'lib-python/3/xmlrpc/server.py')
-rw-r--r-- | lib-python/3/xmlrpc/server.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib-python/3/xmlrpc/server.py b/lib-python/3/xmlrpc/server.py index f1c467eb1b..32aba4df4c 100644 --- a/lib-python/3/xmlrpc/server.py +++ b/lib-python/3/xmlrpc/server.py @@ -108,6 +108,7 @@ from xmlrpc.client import Fault, dumps, loads, gzip_encode, gzip_decode from http.server import BaseHTTPRequestHandler from functools import partial from inspect import signature +import html import http.server import socketserver import sys @@ -894,7 +895,7 @@ class XMLRPCDocGenerator: methods ) - return documenter.page(self.server_title, documentation) + return documenter.page(html.escape(self.server_title), documentation) class DocXMLRPCRequestHandler(SimpleXMLRPCRequestHandler): """XML-RPC and documentation request handler class. |