From 41a69027c2a07a04c11e3537304f70623bb6f6bd Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 7 Oct 2021 14:44:27 +0200 Subject: [PATCH] test/util/TestUriRelative: add failing test for "./" prefix --- test/util/TestUriRelative.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/test/util/TestUriRelative.cxx b/test/util/TestUriRelative.cxx index 75f52a1a2..7aca1084d 100644 --- a/test/util/TestUriRelative.cxx +++ b/test/util/TestUriRelative.cxx @@ -87,6 +87,7 @@ TEST(UriRelative, ApplyRelative) { "../foo", "http://localhost/", "" }, { "../foo", "http://localhost", "" }, { ".", "http://localhost", "http://localhost/" }, + { "./foo", "http://localhost", "http://localhost/foo" }, }; for (const auto &i : tests) {