Файли
openidea/crates
ntbang0901 4ab9f02dc2 fix(terminal): track working directories whose names hold #, ? or % (#8190)
The shell integration printed the working directory raw in the OSC 7 file:// URL, and both the backend and the terminal view parsed it as a URL, so a folder named C#, what? or 100% lost everything from the # or ? on, or failed to decode, and the terminal's directory (new tabs, links, Run in terminal) went wrong.

The zsh and bash integrations now percent-encode every byte outside [/._~A-Za-z0-9-] (fish uses string escape --style=url), and both parsers take everything after the host as the path, decode %XX escapes and keep any other %, so shells and tools that print the path raw still work.

Co-authored-by: ntbang0901 <[email protected]>
2026-12-05 17:42:39 +08:00
..