Skip to content

Avoid mixed slashes in Location#3576

Open
oldergod wants to merge 1 commit intomasterfrom
bquenaudon.2026-04-20.paths
Open

Avoid mixed slashes in Location#3576
oldergod wants to merge 1 commit intomasterfrom
bquenaudon.2026-04-20.paths

Conversation

@oldergod
Copy link
Copy Markdown
Member

No description provided.

@oldergod oldergod force-pushed the bquenaudon.2026-04-20.paths branch from d82ddc6 to 2f86a79 Compare April 20, 2026 16:33
path = if (path.length >= 3 && path[1] == ':' && path[2] == '\\') {
// Preserve the Windows drive root backslash (e.g. "C:\") since okio's path parser
// requires a backslash after the volume letter to recognize a Windows absolute path.
// TODO(Benoit) Remove this branch once https://github.com/square/okio/pull/1802 is released.
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant