aboutsummaryrefslogtreecommitdiff
path: root/lang/ruby18/files/patch-lib_webrick_httpresponse.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lang/ruby18/files/patch-lib_webrick_httpresponse.rb')
-rw-r--r--lang/ruby18/files/patch-lib_webrick_httpresponse.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/lang/ruby18/files/patch-lib_webrick_httpresponse.rb b/lang/ruby18/files/patch-lib_webrick_httpresponse.rb
new file mode 100644
index 000000000000..e6356aed593e
--- /dev/null
+++ b/lang/ruby18/files/patch-lib_webrick_httpresponse.rb
@@ -0,0 +1,11 @@
+--- lib/webrick/httpresponse.rb.orig 2010-08-17 18:54:44.000000000 -0700
++++ lib/webrick/httpresponse.rb 2010-08-17 18:54:58.000000000 -0700
+@@ -209,7 +209,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()