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

fix: ensure relative paths before resolving #32

Merged
merged 2 commits into from
Jan 15, 2024

Conversation

reubenmiller
Copy link
Owner

Avoid problems where the user provides a fixed path (e.g. a leading slash), however it should always be resolved as a relative path as the host could be set to localhost:8001/c8y which uses a common path prefix.

Related to reubenmiller/go-c8y-cli#335

Avoid problems where the user provides a fixed path (e.g. a leading slash), however it should always be resolved as a relative path as the host could be set to localhost:8001/c8y which uses a common path prefix.
@reubenmiller reubenmiller merged commit 73e1287 into main Jan 15, 2024
4 checks passed
@reubenmiller reubenmiller deleted the fix-leading-slash-path branch January 15, 2024 16:06
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