Handle query string when parsing data format

URLs may contain a query string (prefixed with '?') and this should be ignored when parsing
the data format.

To facilitate testing this functionality, ParseDataFormat has been made non-static.
This commit is contained in:
stickies-v
2022-01-18 16:37:54 +00:00
parent c1aad1b3b9
commit fff771ee86
4 changed files with 71 additions and 10 deletions

View File

@@ -116,6 +116,7 @@ BITCOIN_TESTS =\
test/prevector_tests.cpp \
test/raii_event_tests.cpp \
test/random_tests.cpp \
test/rest_tests.cpp \
test/reverselock_tests.cpp \
test/rpc_tests.cpp \
test/sanity_tests.cpp \