You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Harden phpcs utilities: escape filenames instead of only spaces
The phpcs-pr/phpcs-push helpers built the PHPCS command by concatenating
changed filenames with only spaces backslash-escaped, so other shell
metacharacters in a crafted filename could be interpreted by the shell.
Pass each path through escapeshellarg() instead (and drop the now-redundant
space-escaping loop). The empty-diff early exit is unchanged.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0 commit comments