blob: 190fddef97810510c10becfd9f75587541cc922f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
Fix compound id parsing for authfile.
--- a/src/XrdAcc/XrdAccAuthFile.cc
+++ b/src/XrdAcc/XrdAccAuthFile.cc
@@ -161,7 +161,7 @@ char XrdAccAuthFile::getID(char **id)
// two character specification but only validate the first to be backward
// compatible.
//
- if (strlen(pp) <= 2 || !index("ghoru", *pp))
+ if (strlen(pp) > 2 || !index("ghoru", *pp))
{Eroute->Emsg("AuthFile", "Invalid ID sprecifier -", pp);
flags = (DBflags)(flags | dbError);
return 0;
|