Skip to content

Comments

if query is not updated, leave it untouched#284

Merged
bagder merged 1 commit intomasterfrom
bagder/leave-untouched-query
Apr 18, 2024
Merged

if query is not updated, leave it untouched#284
bagder merged 1 commit intomasterfrom
bagder/leave-untouched-query

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
@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