beautify url recentchanges_link redirs to
[ikiwiki.git] / IkiWiki / Plugin / recentchanges.pm
index f4f9ca348d84a569e866a3cfd33837a24d664a0c..bc069fbf258eb8669b01c0b930e8cb8cb0fdbb70 100644 (file)
@@ -80,7 +80,7 @@ sub cgi ($) { #{{{
                                "</p>");
                }
                else {
-                       IkiWiki::redirect($cgi, $config{url}."/".htmlpage($link));
+                       IkiWiki::redirect($cgi, $config{url}.IkiWiki::beautify_url("/".htmlpage($link)));
                }
 
                exit;