summaryrefslogtreecommitdiff
path: root/lib/coderay
diff options
context:
space:
mode:
authorKornelius Kalnbach <murphy@rubychan.de>2013-07-21 18:44:55 +0200
committerKornelius Kalnbach <murphy@rubychan.de>2013-07-21 18:44:55 +0200
commit6ef7fa4541230442b6e743042648320619ad6859 (patch)
tree377a7ff5f9854c927980e6e0430b713854cf7cf9 /lib/coderay
parent8ee1c8deedc58672aa46f311163c2178a70186ce (diff)
downloadcoderay-6ef7fa4541230442b6e743042648320619ad6859.tar.gz
no attack vector found
Diffstat (limited to 'lib/coderay')
-rw-r--r--lib/coderay/helpers/file_type.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/coderay/helpers/file_type.rb b/lib/coderay/helpers/file_type.rb
index e8a7b75..5e3a1e7 100644
--- a/lib/coderay/helpers/file_type.rb
+++ b/lib/coderay/helpers/file_type.rb
@@ -68,7 +68,6 @@ module CodeRay
File.open filename, 'r' do |f|
if first_line = f.gets
if type = first_line[TypeFromShebang]
- # FIXME: cache attack
type.to_sym
end
end