tirkarthi commented on issue #64921: URL: https://github.com/apache/airflow/issues/64921#issuecomment-4216153992
Before Werkzeug 3.0 the bytes returned used to be converted to str. From 3.0+ the code was removed. I cannot reproduce this in plain flask. itsdangerous checks for the dumps return value type and if it's str then it decodes the signed value here. Perhaps a similar fix needs to be done for `_LazySafeSerializer` dumps method too. https://github.com/pallets/itsdangerous/blob/672971d66a2ef9f85151e53283113f33d642dabd/src/itsdangerous/serializer.py#L33-L37 https://github.com/pallets/itsdangerous/blob/672971d66a2ef9f85151e53283113f33d642dabd/src/itsdangerous/serializer.py#L309-L320 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
