You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wrote this for Gunicorn a while ago: benoitc/gunicorn#2178. It would be good to use it for Flask too, it's the same use case. Right now we use some regex and string manipulation to validate and prepare for ast.literal_eval, but ast.parse is the correct way to do it.
The text was updated successfully, but these errors were encountered:
I wrote this for Gunicorn a while ago: benoitc/gunicorn#2178. It would be good to use it for Flask too, it's the same use case. Right now we use some regex and string manipulation to validate and prepare for
ast.literal_eval
, butast.parse
is the correct way to do it.The text was updated successfully, but these errors were encountered: