comments: Fix cache avoidance hack.
The ?updated needs to come before the #anchor or browsers will not follow the anchor.master
parent
1c2da36274
commit
551544663d
|
@ -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 {
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue