Allow "-" character in server field for bookmark
Hello
Versions
- OS: Debian Stretch
- Gajim version: 0.16.6
- GTK version: 2.24.31
- Python-nbxmpp version: 2.24.0
Steps to reproduce the problem
1.Try to add a new bookmark from gui (in french : Actions -> Rejoindre une discussion-> Gérer les marques-pages -> add ) 2. Fill "server" with domain name with "-" character after fill "salon"(in french equivalent to chatroom/muc)
Expected behavior
Nothing special
Actual behavior
Pop-up refusing the character : "Serveur invalide" "Caractère non-autorisé"
This pop-up doesn't appear when we add a character not at the end of the word, it doesn't appear either when "salon" is empty and copy-paste server domain with "-" work correctly