Details
-
Bug
-
Resolution: Done
-
Major
-
quay-v3.4.0
-
None
Description
After changing to Python 3, it appears that we are not properly converting our CSRF from bytes to a string. The following error occurs on any form submissions in the UI, such as attempting to create a User or create an Organization.
gunicorn-web stdout | 2020-07-30 15:58:00,731 [291] [ERROR] [endpoints.csrf] CSRF Failure. Session token (_csrf_token) was b'5NM4vJMeQaTPeXRAdXDognhzIvh/v5rISZCwqVzjM9G6KCXh5qwQF0NchGm8YlKb' and request token (_csrf_token) was b'5NM4vJMeQaTPeXRAdXDognhzIvh/v5rISZCwqVzjM9G6KCXh5qwQF0NchGm8YlKb'