main
Bob Mottram 2021-07-26 19:03:33 +01:00
parent a5b97f1d92
commit d14055e304
1 changed files with 4 additions and 3 deletions

View File

@ -10674,9 +10674,10 @@ class PubServer(BaseHTTPRequestHandler):
self._benchmarkGETtimings(GETstartTime, GETtimings,
'show logout', 'isAuthorized')
if self.path.startswith('/dfc-catalog') or \
self.path.startswith('/shareditems') or \
self.path.startswith('/catalog'):
# shared items catalog for this instance
# this is only accessible to instance members or to
# other instances which present an authorization token
if self.path.startswith('/catalog'):
catalogAuthorized = authorized
if not catalogAuthorized:
# basic auth access to shared items catalog