Użytkownicy online

W tej chwili stronę przegląda 0 users i 1 gość.

Patch for Jabber Users Directory (JUD)

I've noticed that search results in the Jabber Users Directory 0.4 differ between some Jabber clients on my server. When searching for the same terms, some clients (namely Exodus) received proper results, while some other clients (namely Psi) returned empty results!

Upon investigation (thanks to the debug XML output in clients) it turned out that the clients behaved correctly according to protocol specifications, but the server improperly parsed the queries with its XML parser. While Exodues sent the query on one line, Psi pretty-printed it formatting on multiple lines with indents and all.

The jud-0.4 module incorrectly included the indents (tab characters) in the contents of query terms, rendering the query useless.

I've created a workaround patch for jud-0.4 and submitted it on the jdev (Jabber developers mailing list):

http://mailman.jabber.org/pipermail/jdev/2002-December/014147.html

http://mailman.jabber.org/pipermail/jdev/2002-December/014148.html

The patch has been accepted into jud release 0.5. If you use older versions for some reason, you can use my patch