aboutsummaryrefslogtreecommitdiffstats
path: root/src/delete.c
diff options
context:
space:
mode:
authorW. Trevor King <[email protected]>2012-10-06 15:30:21 +0000
committerWerner Koch <[email protected]>2012-10-11 14:22:46 +0000
commit3f1329e1c9b99b1632cc4c4eec2e4399676fd93d (patch)
tree2cc05aa8d56d4ec47358c06aa624c19fe0f9b11f /src/delete.c
parentgpgme-tool: Fix chain_id -> chain-id in KEYLIST XML. (diff)
downloadgpgme-3f1329e1c9b99b1632cc4c4eec2e4399676fd93d.tar.gz
gpgme-3f1329e1c9b99b1632cc4c4eec2e4399676fd93d.zip
gpgme-tool: escape special characters in output XML data (<, >, and &).
[[PGP Signed Part:Undecided]] src/gpgme-tool.c (result_xml_escape_replacement, result_xml_escape): New. (result_xml_tag_data): Use result_xml_escape() to escape data. (result_add_error): Use unescaped < and >. -- This is a general solution for generating valid XML, but the specific output that inspired the change was from the KEYLIST command: <uid>William Trevor King <[email protected]></uid> Now the uids are properly escaped: <uid>William Trevor King &lt;[email protected]&gt;</uid> Signed-off-by: W. Trevor King <[email protected]>
Diffstat (limited to 'src/delete.c')
0 files changed, 0 insertions, 0 deletions