curl / trurl

trurl is a command line tool for URL parsing and manipulation.
https://curl.se/trurl/
Other
3.15k stars 102 forks source link

trurl: add `--curl` to only count as valid URLs supported by libcurl #241

Closed emanuele6 closed 10 months ago

emanuele6 commented 11 months ago

I would prefer that trurl rejected URLs with schemes not supported by libcurl when I use it in combination with curl.

emanuele6 commented 11 months ago

Hmm, on CI the error message is This libcurl build doesn't support the given URL scheme [foo://bar], but it is Unsupported URL scheme [foo://bar] with libcurl 8.4.0. :/ I have to use "stderr": true.

bagder commented 10 months ago

Maybe we should do something more generic for the error message checks...

emanuele6 commented 10 months ago

Resolved conflicts, and rebased to get the fix from #240

bagder commented 10 months ago

Thanks!