The code is found on line 122 (version-dependent) of App/Comments.pm:
CODE
$link_url = $static . '#' . $comment->id;
In my opinion, it should either be changed to:
CODE
$link_url = $static;
Or, perhaps better:
CODE
$link_url = $static . (($static =~ m/\#/) ? $comment->id : '');
The latter would allow someone to better craft the redirect URL if it was necessary. For instance:
CODE
http://<?=($_SERVER['SERVER_NAME'].$_SERVER['PHP_SELF']) ?>#comment-" />
In case you are wondering, the reason that I am putting a URL in the static field (and using all of that crazy PHP) instead of just putting a 1 (which would normally just return the user to the individual entry) is that the blog in question publishes to TWO different domains. I pubilsh two sets of archives for each archive type and the Archive File Template for the DOMAIN2 archives looks like '../DOMAIN2/etc/etc'.
If I just used '1', the redirect URL would be:
CODE
http://DOMAIN1/../DOMAIN2/etc/etc
...and that is obviously no good...
Anyhow...