From 34d57b6b55b51e4b489a4cafce8874dec558b600 Mon Sep 17 00:00:00 2001 From: Michael Krelin Date: Tue, 01 Sep 2009 19:57:41 +0000 Subject: added a test for the single-character trailing path component due to the bug spotted by Hiroyuki ARAKI Signed-off-by: Michael Krelin --- (limited to 'test') diff --git a/test/test.cc b/test/test.cc index 4bb2969..2143ac0 100644 --- a/test/test.cc +++ b/test/test.cc @@ -73,6 +73,8 @@ void test_rfc_3986_normalize_uri() { "http://hacker.klever.net/ah/%5x", false ); test_rfc_3986_normalize_uri( "Http://Hacker.Klever.Net:", true, "http://hacker.klever.net/" ); + test_rfc_3986_normalize_uri( + "http://www.xxx.com/openid/1", true, "http://www.xxx.com/openid/1" ); } void test_w3c_to_time(const char *w3c,time_t expected) { -- cgit v0.9.0.2