diff -ru pukiwiki-1.4.4.puny/lib/html.php pukiwiki-1.4.4/lib/html.php --- pukiwiki-1.4.4.puny/lib/html.php 2005-01-02 18:54:22.000000000 +0900 +++ pukiwiki-1.4.4/lib/html.php 2005-01-02 19:09:39.000000000 +0900 @@ -24,13 +24,13 @@ $link_add = "$script?cmd=add&page=$r_page"; $link_edit = "$script?cmd=edit&page=$r_page"; $link_diff = "$script?cmd=diff&page=$r_page"; - $link_top = "$script?".punyencode($defaultpage); + $link_top = punyencode($defaultpage).'.html'; $link_list = "$script?cmd=list"; $link_filelist = "$script?cmd=filelist"; $link_search = "$script?cmd=search"; - $link_whatsnew = "$script?".punyencode($whatsnew); + $link_whatsnew = punyencode($whatsnew).'.html'; $link_backup = "$script?cmd=backup&page=$r_page"; - $link_help = "$script?".punyencode($help_page); + $link_help = punyencode($help_page).'.html'; $link_rss = "$script?cmd=rss10"; $link_freeze = "$script?cmd=freeze&page=$r_page"; $link_unfreeze = "$script?cmd=unfreeze&page=$r_page"; @@ -232,8 +232,8 @@ $s_page = htmlspecialchars($page); $passage = get_passage($lastmod); $_links[] = $tag ? - "$s_page" : - "$s_page$passage"; + "$s_page" : + "$s_page$passage"; } if (count($_links) == 0) diff -ru pukiwiki-1.4.4.puny/lib/make_link.php pukiwiki-1.4.4/lib/make_link.php --- pukiwiki-1.4.4.puny/lib/make_link.php 2005-01-02 18:54:22.000000000 +0900 +++ pukiwiki-1.4.4/lib/make_link.php 2005-01-02 18:58:06.000000000 +0900 @@ -670,7 +670,7 @@ { $passage = get_pg_passage($page,FALSE); $title = $link_compact ? '' : " title=\"$s_page$passage\""; - return "$s_alias"; + return "$s_alias"; } else { diff -ru pukiwiki-1.4.4.puny/plugin/calendar2.inc.php pukiwiki-1.4.4/plugin/calendar2.inc.php --- pukiwiki-1.4.4.puny/plugin/calendar2.inc.php 2005-01-02 18:54:22.000000000 +0900 +++ pukiwiki-1.4.4/plugin/calendar2.inc.php 2005-01-02 18:59:55.000000000 +0900 @@ -121,7 +121,7 @@ } if (is_page($page)) { - $link = "$day"; + $link = "$day"; } else { $link = "$day"; diff -ru pukiwiki-1.4.4.puny/plugin/edit.inc.php pukiwiki-1.4.4/plugin/edit.inc.php --- pukiwiki-1.4.4.puny/plugin/edit.inc.php 2005-01-02 18:54:22.000000000 +0900 +++ pukiwiki-1.4.4/plugin/edit.inc.php 2005-01-02 19:02:06.000000000 +0900 @@ -117,7 +117,7 @@ page_write($page, $postdata, $notimestamp); if ($postdata) { - header("Location: $script?" . punyencode($page)); + header('Location: '.punyencode($page).'.html'); exit; } diff -ru pukiwiki-1.4.4.puny/plugin/recent.inc.php pukiwiki-1.4.4/plugin/recent.inc.php --- pukiwiki-1.4.4.puny/plugin/recent.inc.php 2005-01-02 18:54:23.000000000 +0900 +++ pukiwiki-1.4.4/plugin/recent.inc.php 2005-01-02 19:02:56.000000000 +0900 @@ -52,7 +52,7 @@ // No need to link itself, notifies where you just read $items .= "