Commit 651e0323 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Ignore <?xml> stanzas. This fixes Trillian problem.

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@6773 b35dd754-fafc-0310-a699-88a17e54d16e
parent 956bbd58
......@@ -111,6 +111,10 @@ public abstract class StanzaHandler {
session.getConnection().close();
return;
}
// Ignore <?xml version="1.0"?> stanzas sent by clients
if (stanza.startsWith("<?xml")) {
return;
}
// Create DOM object from received stanza
Element doc;
try {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment