Misleading error message when appending queries

Open
#414 3 comments 0 reactions 0 assignees View on GitHub

@rajmodi8905 is already working on this.

Since Oct 11, 2026.

  • #454 by @rajmodi8905 — open

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
perl
Domain
cli

Research direction

Reproduce the command trurl --url http://localhost:8000 --append query foo=bar and inspect the --append argument handling. The change is done when this invocation reports that the query component is missing data rather than claiming that query is unsupported; check the existing documentation examples while verifying the wording.

Written by the indexing model from the issue text.

Description

I am using trurl to append fields to a query to avoid url encoding them.

From the reading the man page, not paying enough attention and misinterpreting Long options can be provided either as --flag argument or as --flag=argument and -a, --append [component]=[data], I ran

trurl --url http://localhost:8000 --append query foo=bar

and got the error

trurl error: --append unsupported component: query

While the examples in the docs do use query=key=value, it threw me when it said query wasn't supported. Could the error be something like component query missing data or similar?

Thanks, and thanks for trurl in general, really helpful tool.

Dominant language
Perl
Stars
3.4k
Forks
119
Avg merge
1d 8h
Merged PRs (30d)
2

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from curl/trurl

All issues in curl/trurl

Similar issues

More Perl issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.