diff options
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/common_url_tests.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/common_url_tests.cpp b/src/test/common_url_tests.cpp index cc893cbed7..065c7d97bc 100644 --- a/src/test/common_url_tests.cpp +++ b/src/test/common_url_tests.cpp @@ -54,6 +54,9 @@ BOOST_AUTO_TEST_CASE(decode_malformed_test) { BOOST_CHECK_EQUAL(UrlDecode(" %Z "), " %Z "); BOOST_CHECK_EQUAL(UrlDecode(" % X"), " % X"); + BOOST_CHECK_EQUAL(UrlDecode("%%ffg"), "%\xffg"); + BOOST_CHECK_EQUAL(UrlDecode("%fg"), "%fg"); + BOOST_CHECK_EQUAL(UrlDecode("%-1"), "%-1"); BOOST_CHECK_EQUAL(UrlDecode("%1-"), "%1-"); } |