Skip to content

Commit

Permalink
Slim: add the actual escaped value to output
Browse files Browse the repository at this point in the history
not the escaping call
  • Loading branch information
presidentbeef committed Aug 31, 2016
1 parent be7d16d commit 2e2c7a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/brakeman/processors/slim_template_processor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def process_call exp
arg = normalize_output(exp.first_arg)

if is_escaped? arg
add_escaped_output arg
add_escaped_output arg.first_arg
elsif string? arg
ignore
elsif render? arg
Expand Down

0 comments on commit 2e2c7a6

Please sign in to comment.