• pHr34kY@lemmy.world
    link
    fedilink
    arrow-up
    6
    ·
    1 day ago

    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.

    • computergeek125@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      6 hours ago

      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.