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

if query is not updated, leave it untouched #284

Merged
merged 1 commit into from
Apr 18, 2024

Conversation

bagder
Copy link
Member

@bagder bagder commented Apr 18, 2024

Updated the tests accordingly.

Fixes #281

Updated the tests accordingly.

Fixes #281
@bagder bagder merged commit b93d1cb into master Apr 18, 2024
11 checks passed
@bagder bagder deleted the bagder/leave-untouched-query branch April 18, 2024 12:34
if(nq) {
int rc = curl_url_set(uh, CURLUPART_QUERY, nq, 0);
if(rc)
trurl_warnf(o, "internal problem");
Copy link
Contributor

@jacobmealey jacobmealey Apr 18, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i know this isn't a new warning but im wondering if we can make this more descriptive?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oops looks like i was a minute late to the party haha

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

well, we can/should still improve the warning!

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it should be extremely rare to see this...

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see #285

bagder added a commit that referenced this pull request Apr 18, 2024
bagder added a commit that referenced this pull request Apr 18, 2024
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.

Does 'https://curl.se/?&&&' really have a blank query?
2 participants