mirror of https://github.com/kiwix/libkiwix.git
Fix git clone on Windows
The question mark (?) is not a valid filename character on Windows. Changing to a the pound sign (#) so that this repository can still be cloned on Windows.
This commit is contained in:
parent
7a98878273
commit
59012c50b4
Binary file not shown.
|
@ -0,0 +1 @@
|
||||||
|
c#.html
|
|
@ -0,0 +1,10 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<title>C#</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>C# (pronounced see sharp) is a general-purpose, high-level multi-paradigm programming language. C# encompasses static typing, strong typing, lexically scoped, imperative, declarative, functional, generic, object-oriented (class-based), and component-oriented programming disciplines</p>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1 @@
|
||||||
|
c#.html
|
|
@ -1 +0,0 @@
|
||||||
wtf?.html
|
|
|
@ -1 +0,0 @@
|
||||||
wtf?.html
|
|
|
@ -1,11 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8" />
|
|
||||||
<title>WTF?</title>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<p>WTF? is an acronym coined by cryptography and security researcher Walter
|
|
||||||
Thomas Freiwald. It stands for "Will They Factorize?"</p>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -1198,10 +1198,10 @@ TEST_F(ServerTest, NonEndpointUrlsAreRedirectedToContentUrls)
|
||||||
|
|
||||||
TEST_F(ServerTest, RedirectionsToURLsWithSpecialSymbols)
|
TEST_F(ServerTest, RedirectionsToURLsWithSpecialSymbols)
|
||||||
{
|
{
|
||||||
auto g = zfs1_->GET("/ROOT/content/corner_cases/wtf.html");
|
auto g = zfs1_->GET("/ROOT/content/corner_cases/c_sharp.html");
|
||||||
ASSERT_EQ(302, g->status);
|
ASSERT_EQ(302, g->status);
|
||||||
ASSERT_TRUE(g->has_header("Location"));
|
ASSERT_TRUE(g->has_header("Location"));
|
||||||
ASSERT_EQ(g->get_header_value("Location"), "/ROOT/content/corner_cases/wtf%3F.html");
|
ASSERT_EQ(g->get_header_value("Location"), "/ROOT/content/corner_cases/c%23.html");
|
||||||
ASSERT_EQ(getCacheControlHeader(*g), "max-age=0, must-revalidate");
|
ASSERT_EQ(getCacheControlHeader(*g), "max-age=0, must-revalidate");
|
||||||
ASSERT_FALSE(g->has_header("ETag"));
|
ASSERT_FALSE(g->has_header("ETag"));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue