mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2025-05-15 09:18:27 +00:00
Fix #74
This commit is contained in:
parent
5b3187e2f9
commit
2bb27aa25d
2 changed files with 14 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue