summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2020-01-18 19:26:04 +0100
committerHiltjo Posthuma <hiltjo@codemadness.org>2020-01-18 20:09:47 +0100
commit2b50075f9145b2261566f0f67eb9f31523c7bd71 (patch)
tree52f49877d3e95ea4701512d80f9ada4e65920af6 /doc
parent79ff3ecbc87072a8eaa3cf6a3f94101df500ecdf (diff)
improve XML entity conversion
- return -1 for invalid XML entities. - separate between NUL (&#0;) and invalid entities: although both are unwanted in sfeed. - validate the number range more strictly and don't wrap to unsigned. entities lik: "&#-1;" are handled as invalid now. "&#;" is also invalid instead of the same as "&#0;".
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions