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

Session data is not untagged properly when using other JSON providers #5381

Closed
davidism opened this issue Jan 15, 2024 · 0 comments · Fixed by #5382
Closed

Session data is not untagged properly when using other JSON providers #5381

davidism opened this issue Jan 15, 2024 · 0 comments · Fixed by #5382
Assignees
Milestone

Comments

@davidism
Copy link
Member

Providers such as orjson and ujson do not implement object_hook. The "tagged JSON" scheme used to encode types for session data currently calls loads(data, object_hook=...), so providers that ignore that option return the data still tagged. Untagging needs to be implemented without using object_hook.

@davidism davidism added this to the 3.0.1 milestone Jan 15, 2024
@davidism davidism self-assigned this Jan 15, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 30, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant