]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/CGI.pm
Allow colons in URLs after the first slash
[git.ikiwiki.info.git] / IkiWiki / CGI.pm
index cfb2c0b1d8e39447581d0fb16606c8ff3fac7243..87cb9c3f3f12c637005cc06ecbbc04b18c5736c5 100644 (file)
@@ -354,9 +354,9 @@ sub cgi_editpage ($$) { #{{{
                });
                $form->tmpl_param("page_preview",
                        htmlize($page, $type,
-                       linkify($page, "",
-                       preprocess($page, $page,
-                       filter($page, $page, $content), 0, 1))));
+                       linkify($page, "/",
+                       preprocess($page, "/",
+                       filter($page, "/", $content), 0, 1))));
                # previewing may have created files on disk
                saveindex();
        }