comments: Fix cache avoidance hack.

The ?updated needs to come before the #anchor or browsers will not follow
the anchor.
master
Joey Hess 2009-01-07 11:12:32 -05:00
parent 1c2da36274
commit 551544663d
2 changed files with 2 additions and 1 deletions

View File

@ -508,7 +508,7 @@ sub sessioncgi ($$) {
# Jump to the new comment on the page.
# The trailing question mark tries to avoid broken
# caches and get the most recent version of the page.
IkiWiki::redirect($cgi, urlto($page, undef, 1)."#$location?updated");
IkiWiki::redirect($cgi, urlto($page, undef, 1)."?updated#$location");
}
else {

1
debian/changelog vendored
View File

@ -3,6 +3,7 @@ ikiwiki (3.02) UNRELEASED; urgency=low
* table: Fix misparsed links in external files.
* table: Find links in external files in scan pass.
* rename: Show full names of affected pages.
* comments: Fix cache avoidance hack.
-- Joey Hess <joeyh@debian.org> Tue, 06 Jan 2009 15:02:52 -0500