diff options
| author | Fraser Tweedale <ftweedal@redhat.com> | 2016-03-03 12:14:09 +1100 |
|---|---|---|
| committer | Fraser Tweedale <ftweedal@redhat.com> | 2016-03-03 12:14:09 +1100 |
| commit | 8beb5cfa4cd81fbf47ea8cd6839b793c2a12284e (patch) | |
| tree | 4cd112918c180e41ad560a0bef1e22c7c8f79520 /base/common/python | |
| parent | 3ff245abcf900ec30839d67a0120be42e7acff92 (diff) | |
| download | pki-8beb5cfa4cd81fbf47ea8cd6839b793c2a12284e.tar.gz pki-8beb5cfa4cd81fbf47ea8cd6839b793c2a12284e.tar.xz pki-8beb5cfa4cd81fbf47ea8cd6839b793c2a12284e.zip | |
Avoid XML parse fail with double-hyphen in hostname
server.xml contains metadata read by pkidaemon which includes URLs,
in XML comments. If the hostname contains `--', the parse fails.
Instead of XML comments, put this information in XML Processing
instructions[1], which allows double-hyphens to be used.
[1] https://www.w3.org/TR/REC-xml/#NT-PI
Fixes: https://fedorahosted.org/pki/ticket/1260
Diffstat (limited to 'base/common/python')
0 files changed, 0 insertions, 0 deletions
