﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc
7890,Internal server error when submitting comment without name or email,gadlen,Libor Jelinek,"In WP 2.6.2, running Internet Explorer 6
If you submit a comment without a name or email address, Internet Explorer returns an error. This does not happen in Firefox 3 or Chrome. The error returned is:

{{{
http://lee.org/blog/wp-comments-post.php
The page cannot be displayed 
There is a problem with the page you are trying to reach and it cannot be displayed. 
HTTP 500 - Internal server error 
Internet Explorer
}}}


[http://wordpress.org/support/topic/187581?replies=6 hotkee suggests] ""The bug is IE related I think it treats it as internal error if the returned page is less 512Bytes.""

That appears to be correct :-). If the error messages are made longer, the Server Error messages don't appear.

Here are some proposed changes:

line 61 of wp-comments-post.php was:
		wp_die( __('Error: please fill the required fields (name, email).') );

change to:
		wp_die( __('Sorry, please click the Back button on your browser and fill the required fields (name, email).') );

change line 63 to:
		wp_die( __('Sorry, please click the Back button on your browser and enter a valid email address.') );

change line 67 to:
		wp_die( __('Sorry, please click the Back button on your browser and enter a comment.') );

change line 54 to:
		wp_die( __('Sorry, you must be logged in to post a comment. Please click the Back button on your browser.') );
",defect (bug),closed,normal,2.7,Comments,2.6.1,normal,fixed,2nd-opinion dev-feedback has-patch commit,Libor Jelinek
