Skip to content

Conversation

@tmthyjames
Copy link
Owner

No description provided.

tmthyjames and others added 30 commits January 8, 2018 15:57
Added a doc to help folks bootstrap a development environment.

Signed-off-by: Josh Farwell <josh.farwell@gmail.com>
Signed-off-by: Josh Farwell <josh.farwell@gmail.com>
This was hard-coded, which is a lot better than an injection site, but I
want my zip code to show up :)

I'm using sqlalchemy.sql.text() to give us parameterized and
type-validated input even though we're not using a model here.

Returning None for invalid data bubbles up to a 400 error which seems
appropriate to me.

Signed-off-by: Josh Farwell <josh.farwell@gmail.com>
Signed-off-by: Josh Farwell <josh.farwell@gmail.com>
Instead of rendering the login template on 401s, we redirect to the
login page. The login page will now redirect to ?next after it has
validated the URL is safe. This fixes the issue with trying to log
in from pages that aren't /login.

Signed-off-by: Josh Farwell <josh.farwell@gmail.com>
We want to avoid circular imports so we instantiate login_manager in
views and then initialize it in application.py.

Signed-off-by: Josh Farwell <josh.farwell@gmail.com>
Turns out that Flask-Login implements the redirect chain by itself. It
doesn't validate the redirect URL though.

Signed-off-by: Josh Farwell <josh.farwell@gmail.com>
dependabot bot and others added 2 commits November 2, 2019 07:47
Bumps [werkzeug](https://github.com/pallets/werkzeug) from 0.12.2 to 0.15.3.
- [Release notes](https://github.com/pallets/werkzeug/releases)
- [Changelog](https://github.com/pallets/werkzeug/blob/master/CHANGES.rst)
- [Commits](pallets/werkzeug@0.12.2...0.15.3)

Signed-off-by: dependabot[bot] <support@github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants