Sjors Provoost c0bfe72f6e
Change Parse descriptor argument to string_view
Commit b3bf18f0bac0ffe18206ee20642e11264ba0c99d changed the function
signature from Parse(const std::string& descriptor,...) to
Parse(std::span<const char> descriptor,...).

Calling this new version of Parse with a string literal will trigger
a confusing "Invalid characters in payload" due to the trailing "\0".

Switch to string_view and add a test.

Co-authored-by: MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz>
2025-11-20 13:44:30 +01:00
..
2025-05-14 14:00:43 -07:00
2025-09-30 11:06:43 -07:00