Add paren to list of exclusion chars

This commit is contained in:
William Vu 2014-04-15 11:20:11 -05:00
parent 14c7eb19e6
commit 261572158b
No known key found for this signature in database
GPG Key ID: E761DCB4C1629024
1 changed files with 1 additions and 1 deletions

View File

@ -485,7 +485,7 @@ class Msftidy
end
def check_vars_get
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)
unless test.empty?
test.each { |item|
warn("Please use vars_get in send_request_cgi and send_request_raw: #{item}")