tag: Avoid autocreating multiple tag pages that vary only in capitalization. The first capitalization seen of a tag will be used for the tag page.
Arguably, the real bug is in the interface to add_autofile, but since that does take a filename, not a page name, it cannot really do case handling on its own. The only other users of add_autofile in ikiwiki proper is autoindex, and it always uses one case. Other third party plugins might also need to add similar workarounds though.master
parent
272961d7ff
commit
bad5072c02
|
@ -104,6 +104,9 @@ sub gentag ($) {
|
|||
else {
|
||||
$tagpage=~s/^\///;
|
||||
}
|
||||
if (exists $IkiWiki::pagecase{lc $tagpage}) {
|
||||
$tagpage=$IkiWiki::pagecase{lc $tagpage}
|
||||
}
|
||||
|
||||
my $tagfile = newpagefile($tagpage, $config{default_pageext});
|
||||
|
||||
|
|
|
@ -13,6 +13,9 @@ ikiwiki (3.20110329) UNRELEASED; urgency=low
|
|||
* Be quiet about updating wrappers, except in verbose mode. (jmtd)
|
||||
* meta: Add FOAF support. Closes: #623156 (Jonas Smedegaard)
|
||||
* Promote Crypt::SSLeay to Recommends; needed for https openid auth.
|
||||
* tag: Avoid autocreating multiple tag pages that vary only in
|
||||
capitalization. The first capitalization seen of a tag will be used
|
||||
for the tag page.
|
||||
|
||||
-- Joey Hess <joeyh@debian.org> Mon, 28 Mar 2011 13:08:23 -0400
|
||||
|
||||
|
|
Loading…
Reference in New Issue