Patch for CVE-2010-0541 Index: httpresponse.rb =================================================================== --- lib/webrick/httpresponse.rb (revision 28759) +++ lib/webrick/httpresponse.rb (working copy) @@ -208,7 +208,7 @@ @keep_alive = false self.status = HTTPStatus::RC_INTERNAL_SERVER_ERROR end - @header['content-type'] = "text/html" + @header['content-type'] = "text/html; charset=ISO-8859-1" if respond_to?(:create_error_page) create_error_page()