Index: wp-comments-post.php
===================================================================
--- wp-comments-post.php	(revision 2983)
+++ wp-comments-post.php	(working copy)
@@ -56,7 +56,7 @@
 
 nocache_headers();
 
-$location = (empty($_POST['redirect_to'])) ? $_SERVER["HTTP_REFERER"] : $_POST['redirect_to']; 
+$location = (empty($_POST['redirect_to'])) ? get_permalink($comment_post_ID) : $_POST['redirect_to']; 
 
 wp_redirect($location);
 ?>
\ No newline at end of file
