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
bundle_paths._words swaps a backslash escape inside double quotes, which a shell keeps literal #773
_INNER_ESCAPE_RE in dokimi/dokimi/external/bundle_paths.py:80 swaps \;, \,, \' and \ inside a double-quoted string for the bare character. In a POSIX shell a backslash inside double quotes escapes only $, backtick, ", \ and newline, so the others keep it.
Repro: _words('cp "assets/a\\;b.svg" /tmp/out') returns ['cp', 'assets/a;b.svg', '/tmp/out'] (expected assets/a\\;b.svg); \, gives assets/a,b.svg. The word the path check looks up is then not the name the shell reads.
Fix: inside double quotes swap only \" (and \\), and pin it with a test of each name; the removed test case in #753 was the wrong name, not the right one.
Activity