trurl is a command line tool for URL parsing and manipulation.
Full Changelog: https://github.com/curl/trurl/compare/trurl-0.10...trurl-0.11
Full Changelog: https://github.com/curl/trurl/compare/trurl-0.10...trurl-0.11
o add --replace
o fixed buffer overflows on %00 use o support compiling with old versions of Visual Studio o enable more C compiler warnings and fix them o ci: add Windows builds
Daniel Stenberg, Jacob Mealey, Jay Satiro, Michael Lass, Viktor Szakats
Daniel Stenberg, Ehsan, Emanuele Torre, Jacob Mealey, Krishean Draconis, Michael Ablassmeier, 積丹尼 Dan Jacobson
o add --urlencode
o --json/--get: .[].parts and {component} should be urldecoded not encoded o tests: use empty file instead of /dev/null o typos in manpage o Makefile: Allow CFLAGS to be appendable o Makefile: be explicit in C standard to use
Daniel Stenberg, Emanuele Torre, Krishean Draconis, Michael Ablassmeier, Paul Wise, Sevan Janiyan
o --default-port to ask for the default to be used if not present o --keep-port to ask for the port number to be there even if default o --no-guess-scheme option to disable scheme guessing o --punycode to ask for the punycode version in output
o --help returns 0 instead of 1 o --json: print empty arrays o --redirect: don't silently ignore failed redirections. o makefile: use -Wshadow and -Werror by default o makefile: Use DESTDIR only during install target o refuse setting same component in --set as --iterate o restructure the JSON output object o send -h output to stdout, not stderr o trurl.1: add an example using --iterate o trurl.1: document the JSON output format o use curl_url_cleanup() insted of curl_free()
Daniel Stenberg, Ehsan, Emanuele Torre, Enno Tensing, Gustavo Costa, Jacob Mealey, Michael Ablassmeier, Renato Botelho
o offer {puny:host} and {puny:url} for --get o provide built-with libcurl version info for --version o support for skipping tests o test.py replaced test.pl o test.py supports --with-valgrind o tests.json: extended and updated o URL-QUIRKS: specify if they are build-time or run-time requirements
o Makefile: fix build with GNU Make 3.x o Makefile: make test target depend on trurl o several new CI jobs o test.py: don't crash if stdout is not valid JSON o test: print failed tests more nicely. o trurl: fix query splitting o trurl: json: print comma only after printing the first valid component o trurl: make sure to terminate the JSON array when aborting with --verify o trurl: no url file/arguments implies --verify o trurl: reparse the URL after modifying it to make sure it is still valid
Daniel Stenberg, Emanuele Torre, Jacob Mealey, Krishean Draconis, Ruoyu Zhong
o --get supports variables in [brackets] as well o --get {query-all:key} outputs all values for 'key' in the query o switched to test.py for tests o --iterate is a new option
o handle %00 sequences in {query:key} output o support reading URL from a file without a newline o bmake compatible makefile o fixed a json memory-leak o CI builds with the the clang address sanitizer
Dan Fandrich, Daniel Stenberg, Emanuele Torre, Håvard Bønes, Michael Ablassmeier, Nekobit
Dan Fandrich, Daniel Stenberg, Emanuele Torre, Håvard Bønes, Krishean Draconis Sajad F. Maghrebi