Open
Description
backend-sample-app.py line 124 attempts to concatinate bytes literals and strings. On line 123 convert enc from a string to bytes literal. I purpose the following fix.
- enc = enc.decode()
+ enc = bytes(enc.decode(), encoding='utf-8')
self.send_header('Set-Cookie', b'nginxauth=' + enc + b'; httponly')
Metadata
Metadata
Assignees
Labels
No labels