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.
2 parents f46b4ab + aeedad2 commit 56b165dCopy full SHA for 56b165d
tools/msftidy.rb
@@ -485,7 +485,7 @@ def check_vuln_codes
485
end
486
487
def check_vars_get
488
- test = @source.scan(/send_request_(?:cgi|raw)\s*\(\s*\{\s*['"]uri['"]\s*=>\s*[^=\}]*?\?[^,\}]+/im)
+ test = @source.scan(/send_request_(?:cgi|raw)\s*\(\s*\{?\s*['"]uri['"]\s*=>\s*[^=})]*?\?[^,})]+/im)
489
unless test.empty?
490
test.each { |item|
491
warn("Please use vars_get in send_request_cgi and send_request_raw: #{item}")
0 commit comments