@ffurano commented on this pull request.
In src/XrdHttp/XrdHttpProtocol.cc:
> + // If we could not find anything good, take the last 8 non-space characters of the main subject + if (!SecEntity.name) { + size_t j = 8; + SecEntity.name = strdup("unknown-\0"); // note it's 9 chars
I'm not able to answer about the "clever user" mapping an "unknown-*" name to something, maybe in a badly configured site, as I assume that the machine is safe.
Seems still reasonable to me to fill that field in that way if any other attempt to get a name fails. This applies also to the unencrypted case
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Use REPLY-ALL to reply to list
To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1