about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rw-r--r--extras/exec_cgi.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/exec_cgi.rb b/extras/exec_cgi.rb
index 254164a..3091cfb 100644
--- a/extras/exec_cgi.rb
+++ b/extras/exec_cgi.rb
@@ -18,7 +18,7 @@ class ExecCgi
     attr_writer :body_tip
 
     def each
-      buf = @body_tip || ""
+      buf = @body_tip || ''.dup
       if buf.size > 0
         yield buf
       end