xmlsecurity: implement OOXML stream references

Desktop / LibreOffice - Miklos Vajna [collabora.co.uk] - 25 January 2016 11:26 UTC

With this, if see an URI like:

/_rels/.rels?ContentType=application/vnd.openxmlformats-package.relationships+xml

Then it is properly detected that it's the .rels stream of the _rels storage, and UriBindingHelper will serve that stream (when looked up by name later) to libxmlsec.

0dac6d1 xmlsecurity: implement OOXML stream references
xmlsecurity/source/helper/ooxmlsecparser.cxx | 27 ++++++++++++++++++++-
xmlsecurity/source/helper/ooxmlsecparser.hxx | 4 +++
xmlsecurity/source/helper/xmlsignaturehelper2.cxx | 22 ++++++++++++-----
xmlsecurity/source/helper/xsecctl.hxx | 1 +
4 files changed, 47 insertions(+), 7 deletions(-)

Upstream: cgit.freedesktop.org


  • Share