Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stop infinite recursion in group search #1152

Closed
wants to merge 1 commit into from
Closed

Conversation

j2s2
Copy link

@j2s2 j2s2 commented Oct 9, 2016

along the search, sone tokens appear as their own item so falling in a infinite loop. So I created a array that keep track the items already done.

For example for server "jabber.univ-lille2.fr", I get 13 items and 8 times "jabber.univ-lille2.fr" :

<query xmlns='http://jabber.org/protocol/disco#items'><item jid='conference.jabber.univ-lille2.fr'/><item jid='proxy.jabber.univ-lille2.fr'/><item jid='pubsub.jabber.univ-lille2.fr'/><item jid='vjud.jabber.univ-lille2.fr'/><item jid='webpresence.jabber.univ-lille2.fr'/><item jid='jabber.univ-lille2.fr' node='announce' name='Annonces'/><item jid='jabber.univ-lille2.fr' name='Configuration' node='config'/><item jid='jabber.univ-lille2.fr' name='Gestion des utilisateurs' node='user'/><item jid='jabber.univ-lille2.fr' name='Utilisateurs en ligne' node='online users'/><item jid='jabber.univ-lille2.fr' name='Tous les utilisateurs' node='all users'/><item jid='jabber.univ-lille2.fr' name='Connexions s2s sortantes' node='outgoing s2s'/><item jid='jabber.univ-lille2.fr' name='Noeuds actifs' node='running nodes'/><item jid='jabber.univ-lille2.fr' name='Noeuds arrêtés' node='stopped nodes'/></query>

@nfsprodriver
Copy link
Member

deprecated...

@petermalcom
Copy link

petermalcom commented Mar 23, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants