MHLoppy to Programmer [email protected] • 12 days agoisInHell = 'true'fedia.ioimagemessage-square62fedilinkarrow-up1659arrow-down14file-text
arrow-up1655arrow-down1imageisInHell = 'true'fedia.ioMHLoppy to Programmer [email protected] • 12 days agomessage-square62fedilinkfile-text
minus-square@[email protected]linkfedilink6•11 days agoThe backend and frontend on the product I work on are like this. As long as you remember that booleans are not strings and should always be parsed if they are, this won’t be a problem. I am yet to see a boolean.parse() implementation in the wild that is case sensitive.
minus-square@[email protected]linkfedilinkEnglish2•10 days agoThe could be using .js and .py files directly as config files and letting the language interpreter so the heavy lifting. Just like ye olde config.php. And yes this absolutely will allow code injection by a config admin.
The backend and frontend on the product I work on are like this.
As long as you remember that booleans are not strings and should always be parsed if they are, this won’t be a problem.
I am yet to see a boolean.parse() implementation in the wild that is case sensitive.
The could be using .js and .py files directly as config files and letting the language interpreter so the heavy lifting. Just like ye olde config.php.
And yes this absolutely will allow code injection by a config admin.