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
if a function name is passed as a context value, the function is executed automatically rather than being treated as a string. This can cause unintended behavior, as the user may not intend to call the function.
This could be a bigger problem if one of the values comes from a value the user passed e.g. phpinfo
Example:
if the pestphp package is installed, this issue is triggered, and the function is executed, even if the intent is to pass it as a string.
if a function name is passed as a context value, the function is executed automatically rather than being treated as a string. This can cause unintended behavior, as the user may not intend to call the function.
This could be a bigger problem if one of the values comes from a value the user passed e.g. phpinfo
Example:
if the pestphp package is installed, this issue is triggered, and the function is executed, even if the intent is to pass it as a string.
How to Reproduce: The problem can be reproduced using this repository: test-monolog-sticky-context.
Suggested solution:
The text was updated successfully, but these errors were encountered: