diff -r 015150645930 -r 73822e1d2e35 servers/jabberd14.lua
--- a/servers/jabberd14.lua Thu Aug 12 09:08:55 2010 +0100
+++ b/servers/jabberd14.lua Mon Oct 04 00:22:26 2010 +0100
@@ -1,6 +1,20 @@
+-- The jabberd14/jabberd2 split is a complete mess. There are
+-- servers that report as jabberd14 that return the same fingerprint
+-- as jabberd2 servers. A jabberd14 1.6.1.1 server on Debian was
+-- more similar to jabberd14 1.4.x, so I am assuming it to be the
+-- correct one, even though I can't find another one like it...
+
function testers.jabberd14()
- if test(q_invalid_xml, literal "Invalid XML") then
+ if test(q_invalid_xml, literal ">Invalid XML<") then
server_name = "jabberd14";
+
+ if test(q_invalid_xml, "^<%?xml")
+ and test(q_empty_message_tag, literal ">Did not specify a valid to argument<") then
+ server_min_version = "1.6.0";
+ server_comment "Likely Debian's package, other 1.6.x jabberd's report as jabberd2";
+ elseif test(q_invalid_xml, "^") then
+ server_max_version = "1.4.x";
+ end
end
end