fixed: Bug #3933 - Plus signs in the email address cause premium login to fail

This commit is contained in:
Nick Bolton
2014-03-14 20:34:19 +00:00
parent d5b25069be
commit 28a6b16875
9 changed files with 154 additions and 40 deletions

View File

@@ -28,3 +28,10 @@ TEST(ArchInternetTests, get)
CString result = internet.get(TEST_URL);
ASSERT_EQ("Hello world!", result);
}
TEST(ArchInternetTests, urlEncode)
{
ARCH_INTERNET internet;
CString result = internet.urlEncode("hello=+&world");
ASSERT_EQ("hello%3D%2B%26world", result);
}