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

add URL::join(string_view relative) ? #423

Open
kvtb opened this issue Aug 4, 2022 · 1 comment
Open

add URL::join(string_view relative) ? #423

kvtb opened this issue Aug 4, 2022 · 1 comment

Comments

@kvtb
Copy link

kvtb commented Aug 4, 2022

It would be very convenient to have URL::join function to construct a new URL from an existing URL and a relative path (for example one from Location server header on 302-redirect).

Despite simplicity, implementation has some corner cases, including security sensitive ones, so it is better to have it implemented in a library than to left is an an exercise to a library user.

@afrind
Copy link
Contributor

afrind commented Nov 2, 2023

Happy to take a PR if you are feeling ambitious

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

2 participants