We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have some double quotes in the URLs that I'm working with, which leading to some weird issues when I try to remove parameters.
In this example, I'm just expecting key2 to be removed, but it looks like key3 gets removed completely:
key2
key3
> urltools::param_remove( + "http://example.com/page?key1=testing1&key2=\"testing2\"&key3=testing3", + keys = c("key2") + ) [1] "http://example.com/page?key1=testing1"
In this example, I'm just expecting key2 to be removed, but it looks like key3 gets partially removed:
> urltools::param_remove( + "http://example.com/page?key1=testing1&key2=\"testing2\"&key3=testing3,testing4,testing5", + keys = c("key2") + ) [1] "http://example.com/page?key1=testing1&testing4,testing5"
(It doesn't seem to matter if they're encoded as %22 instead.)
%22
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I have some double quotes in the URLs that I'm working with, which leading to some weird issues when I try to remove parameters.
In this example, I'm just expecting
key2
to be removed, but it looks likekey3
gets removed completely:In this example, I'm just expecting
key2
to be removed, but it looks likekey3
gets partially removed:(It doesn't seem to matter if they're encoded as
%22
instead.)The text was updated successfully, but these errors were encountered: