<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://hg.omfa.de/prosody-hg/</link>
    <language>en-us</language>

    <title>prosody-hg: spec/util_xml_spec.lua history</title>
    <description>spec/util_xml_spec.lua revision history</description>
    <item>
    <title>util.xml: Add an option to allow &lt;?processing instructions?&gt;</title>
    <link>http://hg.omfa.de/prosody-hg/log/c78639ee6ccb/spec/util_xml_spec.lua</link>
    <description><![CDATA[util.xml: Add an option to allow &lt;?processing instructions?&gt;<br/>
<br/>
These should generally be safe to just ignore, which should be the<br/>
default behavior of Expat and LuaExpat]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Fri, 04 Feb 2022 20:47:39 +0100</pubDate>
</item>
<item>
    <title>util.xml: Do not allow doctypes, comments or processing instructions</title>
    <link>http://hg.omfa.de/prosody-hg/log/53e0ae770917/spec/util_xml_spec.lua</link>
    <description><![CDATA[util.xml: Do not allow doctypes, comments or processing instructions<br/>
<br/>
Yes. This is as bad as it sounds. CVE pending.<br/>
<br/>
In Prosody itself, this only affects mod_websocket, which uses util.xml<br/>
to parse the &lt;open/&gt; frame, thus allowing unauthenticated remote DoS<br/>
using Billion Laughs. However, third-party modules using util.xml may<br/>
also be affected by this.<br/>
<br/>
This commit installs handlers which disallow the use of doctype<br/>
declarations and processing instructions without any escape hatch. It,<br/>
by default, also introduces such a handler for comments, however, there<br/>
is a way to enable comments nontheless.<br/>
<br/>
This is because util.xml is used to parse human-facing data, where<br/>
comments are generally a desirable feature, and also because comments<br/>
are generally harmless.]]></description>
    <author>&#74;&#111;&#110;&#97;&#115;&#32;&#83;&#99;&#104;&#228;&#102;&#101;&#114;&#32;&#60;&#106;&#111;&#110;&#97;&#115;&#64;&#119;&#105;&#101;&#108;&#105;&#99;&#107;&#105;&#46;&#110;&#97;&#109;&#101;&#62;</author>
    <pubDate>Mon, 10 Jan 2022 18:23:54 +0100</pubDate>
</item>
<item>
    <title>Port tests to the `busted` test runner</title>
    <link>http://hg.omfa.de/prosody-hg/log/4878e4159e12/spec/util_xml_spec.lua</link>
    <description><![CDATA[Port tests to the `busted` test runner]]></description>
    <author>&#87;&#97;&#113;&#97;&#115;&#32;&#72;&#117;&#115;&#115;&#97;&#105;&#110;&#32;&#60;&#119;&#97;&#113;&#97;&#115;&#50;&#48;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Fri, 15 Sep 2017 17:07:57 -0400</pubDate>
</item>

  </channel>
</rss>
