]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/rename.pm
Merge branch 'master' into tova
[git.ikiwiki.info.git] / IkiWiki / Plugin / rename.pm
index 3ee457ff09e0d8bc7ff4b24e21cc8e6077839294..218cab489b227976c94dd105e0ee8e644b4a60d5 100644 (file)
@@ -279,7 +279,7 @@ sub sessioncgi ($$) { #{{{
                                        $type=$ext;
                                }
                                
-                               $destfile.=".".$type;
+                               $destfile=newpagefile($dest, $type);
                        }
                        push @torename, {
                                src => $src,