Print

Print


…esult from

concatenating the base path with a path from a name_mapfile rule.

Exmaple:
/etc/xrootd/scitokens.cfg
-------------------------
...
base_path=/
name_mapfile=/etc/xrootd/mapfile.json
...

/etc/xrootd/mapfile.json
-------------------------
[{"sub": "abbaabba", "path":/some/path", "response": "someuser"}]

The resulting rule against which the maching will be attempeted will use the path
"//some/path" which will will never match a legitimate path.
You can view, comment on, or merge this pull request online at:

  https://github.com/xrootd/xrootd/pull/1568

-- Commit Summary --

  * [XrdSciTokens] Avoid double slashes in the final path rule that can result from

-- File Changes --

    M src/XrdSciTokens/XrdSciTokensAccess.cc (3)

-- Patch Links --

https://github.com/xrootd/xrootd/pull/1568.patch
https://github.com/xrootd/xrootd/pull/1568.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/pull/1568

########################################################################
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