mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-14 09:58:17 +00:00
FS-6250 fix regression from 7efeabbd88
, don't discrimiate against people that have s as the first character in their user names
This commit is contained in:
@@ -3123,7 +3123,7 @@ SWITCH_DECLARE(int) switch_split_user_domain(char *in, char **user, char **domai
|
|||||||
|
|
||||||
if (!strncasecmp(in, "sip", 3)) {
|
if (!strncasecmp(in, "sip", 3)) {
|
||||||
in += 3;
|
in += 3;
|
||||||
while(*in == ':' || *in == 's') in++;
|
while(*in == ':') in++;
|
||||||
}
|
}
|
||||||
|
|
||||||
u = in;
|
u = in;
|
||||||
|
Reference in New Issue
Block a user