Log

core/xmlhandlers.lua @ 4288:8fde6b6b4919

description author age
Merge 0.6->0.7 Matthew Wild Thu, 02 Jun 2011 15:23:58 +0100
xmlhandlers/xmppstream: Stop the parser when encountering restricted XML, completing the fix for the billion laughs attack Matthew Wild Thu, 02 Jun 2011 15:19:05 +0100
Merge 0.6->0.7 Matthew Wild Thu, 02 Jun 2011 00:25:44 +0100
xmlhandlers: Don't restrict CDATA Matthew Wild Thu, 02 Jun 2011 00:23:41 +0100
Merge 0.6->0.7 Matthew Wild Wed, 01 Jun 2011 23:25:24 +0100
xmlhandlers: Reject XML comments, processing instructions and (if supported by LuaExpat) DTDs. If not supported, log a warning. [Backport of 7cc426988bcc in trunk] Matthew Wild Wed, 01 Jun 2011 23:20:54 +0100
util.stanza, util.xmppstream, core.xmlhandlers: Allow stanza.last_add to be nil, and set it nil by default. Saves a table allocation per-element. 20% faster stanza building. Waqas Hussain Fri, 26 Nov 2010 05:23:37 +0500
Monster whitespace commit (beware the whitespace monster). Waqas Hussain Sat, 16 Oct 2010 23:00:42 +0500
Merge 0.6->0.7 Matthew Wild Mon, 22 Mar 2010 17:24:55 +0000
Update copyright headers for 2010 Matthew Wild Mon, 22 Mar 2010 17:06:15 +0000
xmlhandlers: Removed unused variables. Waqas Hussain Tue, 26 Jan 2010 03:39:53 +0500
xmlhandlers: A little optimization. Waqas Hussain Tue, 26 Jan 2010 03:39:24 +0500
xmlhandlers: Rearranged a little code. Waqas Hussain Sat, 23 Jan 2010 18:41:20 +0500
xmlhandlers: Fixed indentation and added some semicolons. Waqas Hussain Sat, 23 Jan 2010 18:33:39 +0500
xmlhandlers: Move stream-error detection to somewhere more appropriate (it was never reached) - s2s stream errors now reported properly Matthew Wild Tue, 19 Jan 2010 03:58:20 +0000
xmlhandlers: More refactoring, split up stream_ns and stream_tag, add stream_error_tag so that callers don't need to be so worried about the separator we use Matthew Wild Tue, 19 Jan 2010 03:52:41 +0000
xmlhandlers: Define ns_separator and ns_pattern to save repeating it in literal form throughout the file Matthew Wild Mon, 18 Jan 2010 19:00:18 +0000
core.xmlhandlers: Fixed processing of empty namespaces (which caused an issue with jwchat). Waqas Hussain Sat, 28 Nov 2009 12:00:31 +0500
Changed separator between attribute names and prefixes from '|' to '\1' (optimization and cleanup). Waqas Hussain Thu, 12 Nov 2009 13:42:44 +0500
xmlhandlers: Reset state on error or stream close, fixes possible traceback Matthew Wild Wed, 21 Oct 2009 14:05:33 +0100
Remove version number from copyright headers Matthew Wild Fri, 10 Jul 2009 03:11:45 +0100
xmlhandlers: Remove numeric attributes Waqas Hussain Thu, 25 Jun 2009 10:04:22 +0500
xmlhandlers: Removed another unnecessary check Waqas Hussain Fri, 15 May 2009 07:51:33 +0500
xmlhandlers: Removed an unnecessary check Waqas Hussain Fri, 15 May 2009 07:27:03 +0500
core.xmlhandlers: Removed unused variables Waqas Hussain Fri, 15 May 2009 07:24:16 +0500
xmlhandlers: Fix tag pattern again for the default namespace Matthew Wild Thu, 23 Apr 2009 21:03:24 +0100
core.xmlhandlers: expat is the XML parser, not us. Don't reject valid XML. Matthew Wild Sat, 18 Apr 2009 04:06:41 +0100
core.xmlhandlers: Filter out default stream namespace from stanzas Matthew Wild Sat, 21 Mar 2009 21:43:50 +0000