panther icon indicating copy to clipboard operation
panther copied to clipboard

Cast boolean env variables

Open SeyamMs opened this issue 1 year ago • 1 comments
trafficstars

Inspired by #164

Environment variables are always casted to strings, so added PHP filter_var() to cast $_SERVER variables at if statements.

I think for argument PANTHER_DEVTOOLS its required to be able to set it to false, while for arguments PANTHER_NO_HEADLESS and PANTHER_NO_SANDBOX are false by default and true if they just defined.

Hence, another applicable solution is to convert PANTHER_DEVTOOLS to PANTHER_NO_DEVTOOLS

SeyamMs avatar Jun 12 '24 00:06 SeyamMs

Can you please rebase so that we can trigger the CI again also?

nicolas-grekas avatar Oct 03 '24 06:10 nicolas-grekas

Thank you!

dunglas avatar Jan 07 '25 10:01 dunglas