This commit is contained in:
yhirose committed 2018-06-01 23:05:32 -04:00
1 parent 5b3187e2f9
commit 2bb27aa25d
2 files changed
+14 -3

No files matched your search

+7
View File
@@ -643,6 +643,13 @@ TEST_F(ServerTest, InvalidPercentEncodingUnicode)
EXPECT_EQ(404, res->status);
}
TEST_F(ServerTest, EndWithPercentCharacterInQuery)
{
auto res = cli_.Get("/hello?aaa=bbb%");
ASSERT_TRUE(res != nullptr);
EXPECT_EQ(404, res->status);
}
TEST_F(ServerTest, MultipartFormData)
{
Request req;