Skip to content

Avoid mixed slashes in Location#3576

Merged
oldergod merged 1 commit intomasterfrom
bquenaudon.2026-04-20.paths
Apr 23, 2026
Merged

Avoid mixed slashes in Location#3576
oldergod merged 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 2 times, most recently 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.

@oldergod oldergod requested a review from staktrace April 23, 2026 14:39
@oldergod oldergod force-pushed the bquenaudon.2026-04-20.paths branch from 2f86a79 to 270c497 Compare April 23, 2026 14:41
@oldergod oldergod merged commit d01ed19 into master Apr 23, 2026
17 checks passed
@oldergod oldergod deleted the bquenaudon.2026-04-20.paths branch April 23, 2026 18:36
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.

2 participants