pallets / flask

The Python micro framework for building web applications.

Home Page:https://flask.palletsprojects.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Session data is not untagged properly when using other JSON providers

davidism opened this issue · comments

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.