aboutsummaryrefslogtreecommitdiffstats
path: root/lang/ruby18
diff options
context:
space:
mode:
authorstas <stas@FreeBSD.org>2010-08-18 11:46:00 +0800
committerstas <stas@FreeBSD.org>2010-08-18 11:46:00 +0800
commit782a4eb6475292a19a11cb31ebf9dbd2a6f983b0 (patch)
tree6858af286c41478cf7c9ee32d71221691bf57257 /lang/ruby18
parenta18dc69676b32828bd752f62909d62c5f5b0b2f8 (diff)
downloadfreebsd-ports-gnome-782a4eb6475292a19a11cb31ebf9dbd2a6f983b0.tar.gz
freebsd-ports-gnome-782a4eb6475292a19a11cb31ebf9dbd2a6f983b0.tar.zst
freebsd-ports-gnome-782a4eb6475292a19a11cb31ebf9dbd2a6f983b0.zip
- Update ruby 1.9.1 to p430. This release fixes CVE-2010-0541.
- Fix CVE-2010-0541 in ruby18. Bump portrevision. - Fix ruby19 build with openssl 1.1.
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()