[4464] MacRuby/trunk/lib/webrick/httpresponse.rb
Revision: 4464 http://trac.macosforge.org/projects/ruby/changeset/4464 Author: lsansonetti@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()
participants (1)
-
source_changes@macosforge.org