Hi Brett!
Am 28.08.2012 um 16:13 schrieb Brett Smith brett@w3.org:
On our site, we have a few users with hyphens in their usernames. They haven't been able to log in to ngIRCd because of the validity tests in http://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git;a=commitdiff;h=6680b536c4da7dc27e11490fe098e98cb0393fa2;hp=a21a7d8b66bada3c581b7d1fe4279432344f2fd5.
I understand that other ircds use similar checks, but this somewhat limits the value of PAM integration. I've prepared https://gitorious.org/~bretts/ngircd-irc-daemon/bretts-ngircd/commits/more-usernames, which still has some limits that I think are obviously justified (some by the RFC :) ) but is otherwise more permissive. I'd be interested to hear what you think of it.
I don't think that this is a good idea, because I fear it is way too permissive: It allows characters like ASCII 34("), 39('), 63(?), 91([), 126(~), 127(DEL), which could cause problems or even interfere with pattern patching and the like.
Allowing some(!) more characters – probably like 42(+), 45(-), 46(.), and 95(_) – makes sense to me and should do no harm, I think …
Regards Alex