diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2020-01-18 19:26:04 +0100 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2020-01-18 20:09:47 +0100 |
commit | 2b50075f9145b2261566f0f67eb9f31523c7bd71 (patch) | |
tree | 52f49877d3e95ea4701512d80f9ada4e65920af6 /doc/html | |
parent | 79ff3ecbc87072a8eaa3cf6a3f94101df500ecdf (diff) |
improve XML entity conversion
- return -1 for invalid XML entities.
- separate between NUL (�) 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 "�".
Diffstat (limited to 'doc/html')
0 files changed, 0 insertions, 0 deletions