flask icon indicating copy to clipboard operation
flask copied to clipboard

The Python micro framework for building web applications.

Results 41 flask issues
Sort by recently updated
recently updated
newest added

This details competing session cookies situations after `SESSION_COOKIE_DOMAIN` changes, and fixes #5462. I tried to stay concise. I hope this is easy to understand.

Hi, I encountered a strange behavior of flask regarding cookies when the value of `SESSION_COOKIE_DOMAIN` is updated after some cookies have been set. I observed this with Python 3.11, Flask...

This is a duplicate of #1740 — that may have been closed for lack of a clear rationale, however, and I'd like to suggest it again with the following reasoning....

**This pull request is related to Add support for partitioned session cookies** fixes #5472 Regarding the commit [Adding code to handle SESSION_COOKIE_SECURE](https://github.com/pallets/flask/commit/1864dde5d9458ce3ebe7cc5cab8e9b3bccbf64b0) I see that in the test_basic.py in line...

The tests runned with `pytest` works with python3.11 and not in 3.12: How to reproduce: ``` git clone [email protected]:pallets/flask.git cd flask/examples/tutorial python3.11 -m venv venv3.11 python3.12 -m venv venv3.12 #...

#998 was a discussion regarding the impact the `SERVER_NAME` setting has on an application. IMO, there was consensus in that issue, including by @mitsuhiko, that `SERVER_NAME` being used both in...

We have a number of various Pyright typing errors. Environment: - Python version: `3.12` - Flask version: `3.1.0`

Fixes various Pyright types errors. fixes #5549

We added `pyright` in 3.0.3 (see: https://github.com/pallets/flask/pull/5457), but `mypy` is still being used for type checking https://github.com/pallets/flask/blob/main/tox.ini#L29-L32, and `pyright` is not. If this was an intentional change of type checkers,...

Currently the description for `flask` cli command `-e, --env-file` flag is misleading. I understand that this functionality is covered and perfectly explained in docs, but in case you are not...