Skip to content

Commit

Permalink
Use c_sharp.html
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Lamar committed Jan 17, 2023
1 parent c96abf5 commit 227d3fc
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
Binary file modified test/data/corner_cases.zim
Binary file not shown.
File renamed without changes.
2 changes: 1 addition & 1 deletion test/server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1198,7 +1198,7 @@ TEST_F(ServerTest, NonEndpointUrlsAreRedirectedToContentUrls)

TEST_F(ServerTest, RedirectionsToURLsWithSpecialSymbols)
{
auto g = zfs1_->GET("/ROOT/content/corner_cases/c.html");
auto g = zfs1_->GET("/ROOT/content/corner_cases/c_sharp.html");
ASSERT_EQ(302, g->status);
ASSERT_TRUE(g->has_header("Location"));
ASSERT_EQ(g->get_header_value("Location"), "/ROOT/content/corner_cases/c%23.html");
Expand Down

0 comments on commit 227d3fc

Please sign in to comment.