diff options
author | Kornelius Kalnbach <murphy@rubychan.de> | 2013-07-21 20:18:49 +0200 |
---|---|---|
committer | Kornelius Kalnbach <murphy@rubychan.de> | 2013-07-21 20:18:49 +0200 |
commit | 368e053880819edc74fdcef38f38b5fd4806a3f4 (patch) | |
tree | e49ffeebfac158726c17b5ef4fbd074c477353e0 /lib/coderay/scanners | |
parent | 5d6bee7f5caced1383e6aac427fb356a4788794b (diff) | |
download | coderay-368e053880819edc74fdcef38f38b5fd4806a3f4.tar.gz |
FileType should guard against attacks here
Diffstat (limited to 'lib/coderay/scanners')
-rw-r--r-- | lib/coderay/scanners/diff.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/coderay/scanners/diff.rb b/lib/coderay/scanners/diff.rb index 836fa41..fd1aed6 100644 --- a/lib/coderay/scanners/diff.rb +++ b/lib/coderay/scanners/diff.rb @@ -21,7 +21,6 @@ module Scanners line_kind = nil state = :initial deleted_lines_count = 0 - # FIXME: cache attack scanners = Hash.new do |h, lang| h[lang] = Scanners[lang].new '', :keep_tokens => true, :keep_state => true end |