lib/brakeman/checks/check_sql.rb in brakeman-min-4.9.0 vs lib/brakeman/checks/check_sql.rb in brakeman-min-4.9.1
- old
+ new
@@ -391,10 +391,10 @@
end
nil
end
- TO_STRING_METHODS = [:to_s, :squish, :strip, :strip_heredoc]
+ TO_STRING_METHODS = [:chomp, :to_s, :squish, :strip, :strip_heredoc]
#Returns value if interpolated value is not something safe
def unsafe_string_interp? exp
if node_type? exp, :evstr
value = exp.value