kunalpjain opened a new pull request, #65462:
URL: https://github.com/apache/airflow/pull/65462

   Closes #64921
   
   ## What this fixes
   
   In `airflow/providers/fab/www/session.py`, the session save mechanism passes 
bytes to Werkzeug's `dump_cookie` function, which expects a string value, 
causing a `TypeError: cannot use a string pattern on a bytes-like object`. The 
fix is to decode the bytes cookie value to a UTF-8 string before passing it to 
Werkzeug's cookie-setting logic, likely a one-line `.decode('utf-8')` call at 
the serialization boundary.


-- 
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]

Reply via email to