diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2020-11-01 16:53:40 +0100 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2020-11-01 17:01:57 +0100 |
commit | 7664faf66555c5c5b1221322bff7e49722ea36c7 (patch) | |
tree | 988a1cb9dd332be03c56836c3b167eaba3619301 /sfeed_update | |
parent | 134a1ac3372fe1eae6bc5c6acd12666c17e82696 (diff) |
sfeed_xmlenc: be more paranoid in printing encoding names
sfeed_xmlenc is used automatically in sfeed_update for detecting the encoding.
In particular do not allow slashes anymore either. For example "//IGNORE" and
"//TRANSLIT" which are normally allowed.
Some iconv implementation might allow other funky names or even pathnames too,
so disallow that.
See also the notes about the "frommap" for the "-f" option.
https://pubs.opengroup.org/onlinepubs/9699919799/utilities/iconv.html
+ some minor parsing handling improvements.
Diffstat (limited to 'sfeed_update')
0 files changed, 0 insertions, 0 deletions