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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert change to use get_script_prefix #486

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sarahboyce
Copy link

@sarahboyce sarahboyce commented Apr 4, 2023

Hello 馃憢

This reverts this change #259 which added the use of get_script_prefix in the middleware init.
Unfortunately this function is not designed to be used outside the request response cycle and as middleware is initialised outside of that, this is causing unexpected results. For now reverting this change is the best solution to resolve this issue #271 馃憤

Note: You can see here a suggestion to have a better way to access this outside the request response cycle is being discussed

@sarahboyce sarahboyce marked this pull request as ready for review April 4, 2023 18:05
@sarahboyce
Copy link
Author

@evansd @adamchainz I've now added a changelog, I think this is ready for a review 馃憤

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.

None yet

1 participant