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
{{ message }}
Repository navigation
Unix-like platforms: native globbing and tilde expansion cannot be prevented with backtick-escaping #21304
With respect to tilde expansion, Windows is affected too, in the context of the experimental PSNativeWindowsTildeExpansion feature.
Normally, interpreting what would otherwise be an argument parsing-mode metacharacter literally can be deactivated with `; e.g, cmd /c echo `@ and cmd /c echo '@' are equivalent.
The same should apply to the POSIX-shell emulation features:
# Run on Linux or macOS.# Tilde expansion: `~ should ensure *literal* treatment of ~/bin/echo `~
# Native globbing: `* should ensure *literal* treatment of */bin/echo `*
Activity