]> sipb.mit.edu Git - ikiwiki.git/commitdiff
add a colon to disambiguate
authorJoey Hess <joey@kodama.kitenet.net>
Wed, 4 Jun 2008 03:59:25 +0000 (23:59 -0400)
committerJoey Hess <joey@kodama.kitenet.net>
Wed, 4 Jun 2008 03:59:25 +0000 (23:59 -0400)
The omega docs suggest doing this if the term may contain upper case, which
it could here.

IkiWiki/Plugin/search.pm

index 0218987d0f7c51d8dbf2c506f042033bbd16751e..e12c9bca42eefe542867a467424cb3cf5938aad3 100644 (file)
@@ -149,7 +149,7 @@ sub pageterm ($) { #{{{
 
        # TODO: check if > 255 char page names overflow term
        # length; use sha1 if so?
-       return "U".$page;
+       return "U:".$page;
 } #}}}
 
 my $db;