0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2025-01-13 08:23:56 +01:00

ircd:Ⓜ️🆔 Relax user_id character grammar.

This commit is contained in:
Jason Volk 2020-10-20 22:33:18 -07:00
parent 263596b584
commit 8385a63886

View file

@ -57,12 +57,19 @@ struct __attribute__((visibility("hidden"))) ircd::m::id::input
};
// character of a non-historical user_id localpart
const rule<> user_id_char
const rule<> non_historical_user_id_char
{
char_('\x21', '\x39') | char_('\x3B', '\x7E')
,"user_id character"
};
// character of a non-historical'ish user_id localpart
const rule<> user_id_char
{
char_('\x21', '\x39') | char_('\x3B', '\x7E') | char_('\x80', '\xFF')
,"user_id character"
};
// a user_id localpart is 1 or more user_id localpart characters
const rule<> user_id_localpart
{