1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-05 20:33:12 +02:00

Permit 0xa0, if it appears inside UTF8 (via set::allowed-nickchars).

This is the "non breaking space" outside UTF8 and thus was previously
blacklisted. Keeping it blacklisted even if it appears in UTF8 is not
really an option as it means some UTF8 characters can never be used,
like the letter "nun" in Hebrew, and likely others.
This commit is contained in:
Bram Matthys
2017-11-27 11:41:07 +01:00
parent b5b01c5263
commit abaacb6643
+1 -2
View File
@@ -152,7 +152,6 @@ ILangList *ilanglist = NULL;
/* These characters are ALWAYS disallowed... from remote, in
* multibyte, etc.. even though this might mean a certain
* (legit) character cannot be used (eg: in chinese GBK).
* - no breaking space
* - ! (nick!user seperator)
* - prefix chars: +, %, @, &, ~
* - channel chars: #
@@ -161,7 +160,7 @@ ILangList *ilanglist = NULL;
* [CHANGING THIS WILL CAUSE SECURITY/SYNCH PROBLEMS AND WILL
* VIOLATE YOUR ""RIGHT"" ON SUPPORT IMMEDIATELY]
*/
const char *illegalnickchars = "\xA0!+%@&~#$:'\"?*,.";
const char *illegalnickchars = "!+%@&~#$:'\"?*,.";
/* Forward declarations */
int _do_nick_name(char *nick);