presidentbeef/brakeman — pull request #170 by presidentbeef (2012-10-22 22:27:02+00:00)
Title: Do not process appending to HAML template variable

When Brakeman processes a call to `<<`, it treats the target like an array, if possible. We were already ignoring some variables used in the templates, but not one used by HAML. This was causing problems with some templates.

For example, some HAML will end up like this:

```ruby
_hamlout.buffer << _hamlout.format_script_false_false_false_true_false_false_false(haml_temp);
```

This appears to happen when the return value of a block is output (just a guess). In any case, we should not treat `_hamlout.buffer` like an array (or string) when doing the alias processing. Just leave it alone.