Alternative enpoint names

main
Bob Mottram 2021-07-26 12:33:08 +01:00
parent 060efe5851
commit d9e32a0719
1 changed files with 3 additions and 1 deletions

View File

@ -10668,7 +10668,9 @@ class PubServer(BaseHTTPRequestHandler):
self._benchmarkGETtimings(GETstartTime, GETtimings,
'show logout', 'isAuthorized')
if self.path.startswith('/dfc-catalog'):
if self.path.startswith('/dfc-catalog') or \
self.path.startswith('/shareditems') or \
self.path.startswith('/catalog'):
catalogAuthorized = authorized
if not catalogAuthorized:
# basic auth access to shared items catalog