fix cookie matching in tileserver
This commit is contained in:
parent
b15965ed6c
commit
51c2c15686
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ class TileServer:
|
|||
if cookie:
|
||||
cookie = self.cookie_regex.match(cookie)
|
||||
if cookie:
|
||||
cookie = cookie.group(0)
|
||||
cookie = cookie.group(1)
|
||||
access_permissions = parse_tile_access_cookie(cookie, self.tile_secret) if cookie else set()
|
||||
|
||||
# only access permissions that are affecting this tile
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue