servers/prosody.lua

changeset 0
ba1cc6ad649d
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/servers/prosody.lua	Thu Feb 18 16:02:11 2010 +0000
@@ -0,0 +1,11 @@
+function testers.prosody()
+	if test(q_invalid_xml, literal " id=''")
+		and test(q_invalid_host, "This server does not serve")
+		and not test(q_invalid_xml, " from=") then
+		server_name = "Prosody";
+		if not test(q_invalid_host, literal "><?xml") then
+			server_min_version = "0.6";
+		end
+	end
+end
+

mercurial