Revision
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

Diff

Modified: MacRuby/trunk/lib/webrick/httpresponse.rb (4463 => 4464)


--- 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()