Skip to content

append: diagnose a missing equals sign before checking the component - #454

Open
rajmodi8905 wants to merge 1 commit into
curl:masterfrom
rajmodi8905:fix/append-missing-value
Open

rajmodi8905 wants to merge 1 commit into
curl:masterfrom
rajmodi8905:fix/append-missing-value

Conversation

@rajmodi8905

Copy link
Copy Markdown

--append query currently reports that query is unsupported. Check the argument syntax first and report the missing =. Correctly formed unsupported components keep their existing diagnostic and exit code.

Fixes #414.

Add regression tests for bare query, path, and host, plus a host=example.com control. The three missing-equals tests fail before the change.

Validation: make trurl, make checksrc, and the full suite pass (202 passed, 15 feature skips). The same suite passes with AddressSanitizer and UndefinedBehaviorSanitizer. Valgrind was unavailable locally, so make test-memory could not run; ASan leak detection was disabled on macOS.

@rajmodi8905

Copy link
Copy Markdown
Author

Hi maintainers, gently following up on this diagnostic fix for #414. Could someone take a look when you have a moment? Happy to make any changes needed. Thanks!

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.

Misleading error message when appending queries

1 participant