File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -67,11 +67,17 @@ require_contains "${SETTINGS_CSS}" '--fvplus-settings-accent:' 'settings tokeniz
6767require_absent " ${DOCKER_JS} " ' \.css\(\s*["' " '" ' ]color["' " '" ' ]\s*,\s*statusColors' ' docker inline status color painting'
6868require_absent " ${VM_JS} " ' \.css\(\s*["' " '" ' ]color["' " '" ' ]\s*,\s*statusColors' ' vm inline status color painting'
6969
70+ # shellcheck disable=SC2016
7071require_contains " ${STYLES_CUSTOM_PHP} " ' realpath\(' ' styles loader realpath'
72+ # shellcheck disable=SC2016
7173require_contains " ${STYLES_CUSTOM_PHP} " ' strpos\(\$resolved,\s*\$baseDir\s*\.\s*' \' ' /' \' ' \)\s*!==\s*0' ' styles loader path boundary check'
74+ # shellcheck disable=SC2016
7275require_contains " ${STYLES_CUSTOM_PHP} " ' autov\(\$resolved\)' ' styles loader autov resolved path'
76+ # shellcheck disable=SC2016
7377require_contains " ${SCRIPTS_CUSTOM_PHP} " ' realpath\(' ' scripts loader realpath'
78+ # shellcheck disable=SC2016
7479require_contains " ${SCRIPTS_CUSTOM_PHP} " ' strpos\(\$resolved,\s*\$baseDir\s*\.\s*' \' ' /' \' ' \)\s*!==\s*0' ' scripts loader path boundary check'
80+ # shellcheck disable=SC2016
7581require_contains " ${SCRIPTS_CUSTOM_PHP} " ' autov\(\$resolved\)' ' scripts loader autov resolved path'
7682
7783echo " Theme runtime guard passed."
You can’t perform that action at this time.
0 commit comments