diff options
author | Stanislav Sedov <stas@FreeBSD.org> | 2010-08-18 03:46:00 +0000 |
---|---|---|
committer | Stanislav Sedov <stas@FreeBSD.org> | 2010-08-18 03:46:00 +0000 |
commit | 60808d3d09bc85c0e970a86850be12a9cb68a44c (patch) | |
tree | ec3d04978509a4da29b886d1ffcad591d90a5280 /lang/ruby18 | |
parent | 8e6bfd22de3ee28e28b77281fa3388eb9c38ca7f (diff) | |
download | ports-60808d3d09bc85c0e970a86850be12a9cb68a44c.tar.gz ports-60808d3d09bc85c0e970a86850be12a9cb68a44c.zip |
Notes
Diffstat (limited to 'lang/ruby18')
-rw-r--r-- | lang/ruby18/files/patch-lib_webrick_httpresponse.rb | 11 |
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() |