提交 c5f16a25 编写于 作者: J Justin Collins

Remove accidentally committed debug output

上级 2faeadd5
......@@ -63,13 +63,11 @@ class CheckCrossSiteScripting < BaseCheck
if exp[0] == :output
out = exp[1]
elsif exp[0] == :escaped_output and raw_call? exp
puts "Check it! #{exp[1][3][1].inspect}"
out = exp[1][3][1]
end
type, match = has_immediate_user_input? out
puts "MATCHED: #{out.inspect} as #{type}" if type
puts "Dupe? #{exp.inspect} #{duplicate? exp}"
if type and not duplicate? exp
add_result exp
case type
......
......@@ -224,7 +224,6 @@ class RailsXSSErubis < ::Erubis::Eruby
end
def add_text(src, text)
puts "Add text: #{text.inspect}"
if text == "\n"
src << "\n"
elsif text.include? "\n"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册