diff options
author | Kornelius Kalnbach <murphy@rubychan.de> | 2013-07-21 16:49:40 +0200 |
---|---|---|
committer | Kornelius Kalnbach <murphy@rubychan.de> | 2013-07-21 16:49:40 +0200 |
commit | 60afd6857c8d0f1c3f9f2d6ca45f01b216d6b4b5 (patch) | |
tree | d1578e9ff08be6dba2671a0623959367ec2760c1 /lib/coderay/encoders | |
parent | b266cb62e4fc08b31dfa1b9a2700e5d555d13afb (diff) | |
download | coderay-60afd6857c8d0f1c3f9f2d6ca45f01b216d6b4b5.tar.gz |
no attack vector found
Diffstat (limited to 'lib/coderay/encoders')
-rw-r--r-- | lib/coderay/encoders/html.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/coderay/encoders/html.rb b/lib/coderay/encoders/html.rb index 6dd231a..ee2d91a 100644 --- a/lib/coderay/encoders/html.rb +++ b/lib/coderay/encoders/html.rb @@ -142,7 +142,6 @@ module Encoders HTML_ESCAPE = make_html_escape_hash HTML_ESCAPE_PATTERN = /[\t"&><\0-\x8\xB-\x1F]/ - # FIXME: cache attack TOKEN_KIND_TO_INFO = Hash.new do |h, kind| h[kind] = kind.to_s.gsub(/_/, ' ').gsub(/\b\w/) { $&.capitalize } end |