Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix an issue using securecookie with Python 3 #1205

Merged

Commits on Dec 4, 2017

  1. Fix an issue using securecookie with Python 3

    When using a string for the `secret_key` (as per the docs) Python 3
    fails with a `TypeError`.
    
    This catches the error and uses the `encode` method instead.
    
    Addresses pallets#1204
    grahamlyons authored and davidism committed Dec 4, 2017
    Configuration menu
    Copy the full SHA
    576b75d View commit details
    Browse the repository at this point in the history
  2. use compat to_bytes

    davidism committed Dec 4, 2017
    Configuration menu
    Copy the full SHA
    41248bf View commit details
    Browse the repository at this point in the history