Fixed issue with URL_ENCODER encoding (and small optimization)

This commit is contained in:
2014-04-08 21:47:39 +02:00
parent a2cbcbbbc6
commit 1d0a2363d8
2 changed files with 35 additions and 17 deletions

View File

@@ -22,6 +22,7 @@ feature -- Test routines
test_url_encoded_encoding ({STRING_32}"http://domain.tld/foo/bar/script.php?test='toto'&foo=bar&title=il <20>tait une fois")
test_url_encoded_encoding ({STRING_32}"<22>t<EFBFBD>")
test_url_encoded_decoding ({STRING_8}"%%E9t%%E9", {STRING_32}"<22>t<EFBFBD>")
test_url_encoded_decoding ({STRING_8}"Test%0A", {STRING_32}"Test%N")
test_utf8_url_encoded_decoding ({STRING_8}"%%C3%%A9t%%C3%%A9", {STRING_32}"<22>t<EFBFBD>")
end