Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix CSRF validation when token is unicode
Pramid's params can be either str or unicode depending on the encoding. Without this fix, constant_time_compare gives a TypeError: 'unicode' does not have the buffer interface.
- Loading branch information