*** lib/TWiki.pm.orig2 2005-08-23 11:44:13.000000000 +0200 --- lib/TWiki.pm 2005-08-23 11:45:33.000000000 +0200 *************** *** 860,865 **** --- 860,867 ---- my $expirationDateString = &formatTime($lastModifiedDate + ($viewForce ? 0 : $expirationLastDateOffset), '\$http'); + writeDebug("viewForce=$viewForce, + lastModifiedDateString=$lastModifiedDateString, expirationDateString=$expirationDateString"); $coreHeaders = $query->header( -content_type => $contentType, -last_modified => $lastModifiedDateString, *************** *** 981,989 **** sub redirect { my( $query, $url ) = @_; ! my $olds = $dispScriptUrlPath . $dispViewPath; ! my $news = $dispScriptUrlPath . $dispViewPath . "f"; ! $url =~ s|$olds|$news|; if( ! &TWiki::Plugins::redirectCgiQueryHandler( $query, $url ) ) { print $query->redirect( $url ); } --- 983,994 ---- sub redirect { my( $query, $url ) = @_; ! if ($url !~ /viewauth/) { ! # view = fview to force refresh ! my $olds = $dispScriptUrlPath . $dispViewPath; ! my $news = $dispScriptUrlPath . $dispViewPath . "f"; ! $url =~ s|$olds|$news|; ! } if( ! &TWiki::Plugins::redirectCgiQueryHandler( $query, $url ) ) { print $query->redirect( $url ); }