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

Provide tools for manipulating query parameters #614

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

hadley
Copy link
Member

@hadley hadley commented Dec 24, 2024

Fixes #425

@jonthegeek
Copy link
Contributor

How would you feel about url_modify_path() (or maybe url_modify_path_append()) along these same lines? I know you can do it with the existing tools, but something equivalent to req_url_path_append() but for urls themselves is handy to (for example) avoid duplicate /'s in the same sorts of situations where you'd use these other url modify tools.

@hadley
Copy link
Member Author

hadley commented Dec 24, 2024

@jonthegeek hmmmm I think I'd prefer url_modify_relative() now that we have more relative path handling tools. That feels a bit more general to me.

@jonthegeek
Copy link
Contributor

@jonthegeek hmmmm I think I'd prefer url_modify_relative() now that we have more relative path handling tools. That feels a bit more general to me.

That makes sense!

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.

Export query_build and query_parse.
2 participants