diff --git a/lib/cgi/core.rb b/lib/cgi/core.rb index d510b80628..73daae3e17 100644 --- a/lib/cgi/core.rb +++ b/lib/cgi/core.rb @@ -267,7 +267,7 @@ class CGI def _header_for_modruby(buf) #:nodoc: request = Apache::request buf.scan(/([^:]+): (.+)#{EOL}/o) do |name, value| - $stderr.puts sprintf("name:%s value:%s\n", name, value) if $DEBUG + $stderr.printf("name:%s value:%s\n", name, value) if $DEBUG case name when 'Set-Cookie' request.headers_out.add(name, value)