[macruby-changes] [4464] MacRuby/trunk/lib/webrick/httpresponse.rb
source_changes at macosforge.org
source_changes at macosforge.org
Wed Aug 25 13:45:49 PDT 2010
Revision: 4464
http://trac.macosforge.org/projects/ruby/changeset/4464
Author: lsansonetti at apple.com
Date: 2010-08-25 13:45:49 -0700 (Wed, 25 Aug 2010)
Log Message:
-----------
merge security fix from 10.6 SU
Modified Paths:
--------------
MacRuby/trunk/lib/webrick/httpresponse.rb
Modified: MacRuby/trunk/lib/webrick/httpresponse.rb
===================================================================
--- MacRuby/trunk/lib/webrick/httpresponse.rb 2010-08-25 00:43:43 UTC (rev 4463)
+++ MacRuby/trunk/lib/webrick/httpresponse.rb 2010-08-25 20:45:49 UTC (rev 4464)
@@ -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=utf-8"
if respond_to?(:create_error_page)
create_error_page()
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20100825/9270dfc1/attachment.html>
More information about the macruby-changes
mailing list