Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Relativize should output smaller paths #45

Open
Tpt opened this issue Oct 31, 2024 · 0 comments
Open

Relativize should output smaller paths #45

Tpt opened this issue Oct 31, 2024 · 0 comments

Comments

@Tpt
Copy link
Contributor

Tpt commented Oct 31, 2024

relativize sometime outputs absolute paths whereas it should make use of dot segments. For example http://a/b/ relativized against http://a/b/c should return . and not /b/ and http://a/path/c relativized against http://a/path/foo/c should return ../c

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

No branches or pull requests

1 participant