Skip to content

New allowed param-related options

Choose a tag to compare

@spaze spaze released this 02 Aug 14:40
  • New config options allowParamsAnywhereAnyValue & allowParamsInAllowedAnyValue to allow previously forbidden call when a param with any value is present (#75)
  • Support allowExceptParams & allowExceptCaseInsensitiveParams config options, when you need to disallow a function or a method only when a param has a specified value (#74)
  • Backtick operator (...) is also automatically forbidden when shell_exec() is forbidden (f66118b)
  • Internal changes (factory methods 0e73b99, params are represented by objects 5092bc4)
  • AllowAnywhere params should not be enough to also satisfy AllowInAllowed condition, params in allowParamsInAllowedAnyValue are checked in allowed paths even if allowParamsAnywhere exists too (823da13)