[standards-jig] Banning with wildcards in MUC
mdpoole at troilus.org
Thu Jan 15 18:16:31 UTC 2004
Joe Hildebrand writes:
> *@example.com is a valid JID. Someone actually registered *@jabber.org
> somewhere along the way... :)
> What would banning "example.com" mean?
example.com is a valid JID too -- it just doesn't belong to a user. I
assume banning it would prevent the server from joining the MUC room.
Some IRC servers treat * and ? and \ as metacharacters in bans unless
they are preceeded by a \. There are obvious problems if someone uses
a JID (or set of JIDs) with many metacharacters in the name, but
without reserved characters, you will have such a problem.
You can also ban by regular expression, although certain regexps have
worse back-tracking behavior than any glob does.
More information about the Standards