MCPcopy Create free account
hub / github.com/pgadmin-org/pgadmin4 / sanitize_external_text

Function sanitize_external_text

web/pgadmin/utils/text_sanitize.py:30–33  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

28
29
30def sanitize_external_text(text):
31 if text is None:
32 return None
33 return html.escape(_CONTROL_CHARS_RE.sub('', str(text)), quote=True)

Callers 14

runTestMethod · 0.90
deploy_on_cloudFunction · 0.90
update_cloud_serverFunction · 0.90
verify_credentialsFunction · 0.90
verify_credentialsFunction · 0.90
verification_ackFunction · 0.90
get_projectsFunction · 0.90
get_regionsFunction · 0.90
get_instance_typesFunction · 0.90
get_database_versionsFunction · 0.90

Calls 1

escapeMethod · 0.80

Tested by 1

runTestMethod · 0.72