powered by Jive Software

User Import & Export failing on usernames with apostrophe in them

I can create users with apostrophe’s in them through the admin web interface, however they fail when trying to import them using the import export plugin. Does anyone know how to get around this?

don’t use invalid characters in the names when you create them… strictly alpha numeric characters no spaces or other such junk.

Why is that one can add users via the admin web interface with “spaces and other such junk”? I would think that the import plugin would be consistent with that interface.

Just for the record I’m trying to migrate from an old Jabber XCP server to openfire. So I’m stuck with what is in that system and trying to migrate it. Now I can manually add these users via the web interface but do to the amount of users would very much like to avoid that.

Thanks

This http://www.igniterealtime.org/community/message/202046#202046 thread answered my question by pointing me to http://xmpp.org/extensions/xep-0106.html#unescaping which has the escape characters. So when I substitute spaces (\20) and apostrophe (\27) the import works.

again for those who do not understand. spaces apostrophes and other non-alphanumeric characters should not be used for web based protocols. you would not make a web address www.ignite realtime.com would you. same reason you do not use it in a username that is used as part of the server discovery and authentication protocol. Just because the time was not taken to code an exclusion error for people trying it does not make it right to use them. Same goes for LDAP, email and other such protocols. You can use any character you want but it does not mean it will work. Yes you can use the escape code characters which serve to cover ones butt for using invalid characters.