We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd11aff commit c73892bCopy full SHA for c73892b
tools/msftidy.rb
@@ -531,12 +531,6 @@ def check_lines
531
error("Writes to stdout", idx)
532
end
533
534
- # You should not change datastore in code. See
535
- # https://github.com/rapid7/metasploit-framework/issues/3853
536
- if ln =~ /(?<!\.)datastore\[["'][^"']+["']\]\s*(=|<<)(?![=~>])/
537
- info("datastore is modified in code with '#{Regexp.last_match(1)}': #{ln}", idx)
538
- end
539
-
540
# do not read Set-Cookie header (ignore commented lines)
541
if ln =~ /^(?!\s*#).+\[['"]Set-Cookie['"]\](?!\s*=[^=~]+)/i
542
warn("Do not read Set-Cookie header directly, use res.get_cookies instead: #{ln}", idx)
0 commit comments