Index: Misc.pm =================================================================== --- Misc.pm (revision 11414) +++ Misc.pm (working copy) @@ -478,7 +478,8 @@ sub stripAnchorFromURL { my $url = shift; - if ($url =~ /^(.*)#[\d\.]+-.*$/) { + # Bug 4652 - only strip anchor following a file extension + if ($url =~ /^(.*\..{2,4})#[\d\.]+-.*$/) { return $1; }