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 66cc050 + f3f3100 commit f46b4abCopy full SHA for f46b4ab
tools/msftidy.rb
@@ -484,11 +484,11 @@ def check_vuln_codes
484
end
485
486
487
- def check_request_vars
+ def check_vars_get
488
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 or vars_post in send_request_cgi and send_request_raw: #{item}")
+ warn("Please use vars_get in send_request_cgi and send_request_raw: #{item}")
492
}
493
494
@@ -536,7 +536,7 @@ def run_checks(full_filepath)
536
tidy.check_snake_case_filename
537
tidy.check_comment_splat
538
tidy.check_vuln_codes
539
- tidy.check_request_vars
+ tidy.check_vars_get
540
return tidy
541
542
0 commit comments