Skip to content

Conversation

s-cerevisiae
Copy link

@s-cerevisiae s-cerevisiae commented May 23, 2025

This PR fixes the pattern used to recognize and strip URL schemes so that paths starting with oil://, oil-ssh:// and alike are recognized.

Also I can't think of an example where a URL starting with a scheme is relative, so I treated them all as absolute ones. This fixes the (newly emerged) problem with oil-ssh where it's like oil-ssh://user@host/path.

Well oil://... URLs do work like that. Idk if people use it like that instead of just sending the directory though. Any further ideas are welcome.

@s-cerevisiae s-cerevisiae marked this pull request as draft May 27, 2025 00:42
@willothy
Copy link
Owner

Hi, thanks for the PR! Complex patterns are a bit sketchy to me, I'll have to look more into the oil-specific problem.

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