aboutsummaryrefslogtreecommitdiff
path: root/lang/ruby18
diff options
context:
space:
mode:
authorStanislav Sedov <stas@FreeBSD.org>2010-08-18 03:46:00 +0000
committerStanislav Sedov <stas@FreeBSD.org>2010-08-18 03:46:00 +0000
commit60808d3d09bc85c0e970a86850be12a9cb68a44c (patch)
treeec3d04978509a4da29b886d1ffcad591d90a5280 /lang/ruby18
parent8e6bfd22de3ee28e28b77281fa3388eb9c38ca7f (diff)
downloadports-60808d3d09bc85c0e970a86850be12a9cb68a44c.tar.gz
ports-60808d3d09bc85c0e970a86850be12a9cb68a44c.zip
Notes
Diffstat (limited to 'lang/ruby18')
-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()