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
fix(sessions): make session path encoding injective and verify cwd on resume (#96542)
getDefaultSessionDir replaces path separators with '-' which means
"client/app" and "client-app" produce identical encoded paths, causing
session cross-contamination. Fix: use percent-encoding (%2F/%5C/%3A)
to distinguish separators from literal hyphens.
Also add cwd verification in continueRecent so that if a session file
from a colliding directory is found, the code scans remaining files for
one matching the requested cwd before falling back to a fresh session.
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
0 commit comments