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

request.endpoint always None in SessionInterface.open_session #3776

zeha opened this issue Oct 3, 2020 · 2 comments · Fixed by #3794

request.endpoint always None in SessionInterface.open_session #3776

zeha opened this issue Oct 3, 2020 · 2 comments · Fixed by #3794


Copy link

zeha commented Oct 3, 2020

Expected Behavior

Session Interface should have access to request.endpoint from open_session. In Versions before 1.1.0, this worked fine.

Actual Behavior

Our SessionInterface subclass looks at request.endpoint to determine if it should open a new session - opening a new is only appropriate on some endpoints. Now this is always None, so it cannot make this distinction anymore.

I believe #3104 (issue #3088) broke this.


  • Python version: 3.8.5
  • Flask version: 1.1.2
  • Werkzeug version: 0.16.1
Copy link

Added a PR here which is simple enough - URL matching was happening immediately after session creation, now it happens immediately after.

@davidism davidism added this to the 2.0.0 milestone Feb 2, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 17, 2021
Copy link

Planning to roll this back, see #4053

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
None yet

Successfully merging a pull request may close this issue.

4 participants