From a65be911183297a5677c86e9d440482ade955431 Mon Sep 17 00:00:00 2001 From: Phy Date: Sun, 7 Jun 2020 21:08:41 -0400 Subject: [PATCH] add unit tests for #3114 --- _test/tests/inc/pageutils_nons.test.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/_test/tests/inc/pageutils_nons.test.php b/_test/tests/inc/pageutils_nons.test.php index 8b2761f0a..b3390cc39 100644 --- a/_test/tests/inc/pageutils_nons.test.php +++ b/_test/tests/inc/pageutils_nons.test.php @@ -43,6 +43,8 @@ class init_noNS_test extends DokuWikiTest { ['0:foo', 'foo'], ['foo:0', '0'], ['0', '0'], + ['0:', '0'], + ['a:b:', 'b'], // breadcrumbs code passes IDs ending with a colon #3114 ]; } -- 2.11.4.GIT