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
By default, XlsxWriter expands cells starting with = into formulas. Having this behavior happen by default is dangerous as it makes it easy to write code which is vulnerable to formula injections. Wouldn't it be safer to make this an opt-in instead?
Converting strings to formulas in write() is the documented behaviour and has been for 6 years. Changing it now would break that functionality for a large number of users, so I'm not going to do that.
This behaviour is easily turned off in the constructor:
By default, XlsxWriter expands cells starting with
=
into formulas. Having this behavior happen by default is dangerous as it makes it easy to write code which is vulnerable to formula injections. Wouldn't it be safer to make this an opt-in instead?See pandas-dev/pandas#29095
The text was updated successfully, but these errors were encountered: