Skip to content

Commit

Permalink
[Server] Liberalize character set allowed in login name (fixes EOS is…
Browse files Browse the repository at this point in the history
…sue).
  • Loading branch information
abh3 committed Mar 16, 2019
1 parent 08b5ead commit fad6949
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/XrdXrootd/XrdXrootdXeq.cc
Original file line number Diff line number Diff line change
Expand Up @@ -876,7 +876,7 @@ int XrdXrootdProtocol::do_Login()
{if (Request.login.username[i] == '\0' ||
Request.login.username[i] == ' ') break;
uname[i] = Request.login.username[i];
if (!isalnum(uname[i])) uname[i] = '_';
if (!isprint(uname[i])) uname[i] = '_';
}
uname[i] = '\0';

Expand Down

0 comments on commit fad6949

Please sign in to comment.