projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dfe55e8
)
layout
author
Joey Hess
<joey@kodama.kitenet.net>
Tue, 23 Sep 2008 18:57:13 +0000
(14:57 -0400)
committer
Joey Hess
<joey@kodama.kitenet.net>
Tue, 23 Sep 2008 18:57:13 +0000
(14:57 -0400)
IkiWiki/Plugin/rename.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Plugin/rename.pm
b/IkiWiki/Plugin/rename.pm
index 77aed9556902d9344c85e0f5c7b0eedf180b0476..d6079e198266cf06af8e01a9a9fe351b3c7d1b8d 100644
(file)
--- a/
IkiWiki/Plugin/rename.pm
+++ b/
IkiWiki/Plugin/rename.pm
@@
-254,7
+254,8
@@
sub sessioncgi ($$) { #{{{
my $type=$q->param('type');
if (defined $type && length $type && $IkiWiki::hooks{htmlize}{$type}) {
$type=IkiWiki::possibly_foolish_untaint($type);
- } else {
+ }
+ else {
my ($ext)=$srcfile=~/\.([^.]+)$/;
$type=$ext;
}