mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 03:34:29 +03:00
Update current review and report generation script.
This commit is contained in:
@@ -29,7 +29,7 @@ for my $rec (values %{$review->{ReviewIssue} || {}}) {
|
||||
|
||||
|
||||
# Write report
|
||||
for my $fn (@ARGV ? (@ARGV) : (keys %ISSUES)) {
|
||||
for my $fn (@ARGV ? (@ARGV) : (sort keys %ISSUES)) {
|
||||
print "File: $fn\n";
|
||||
print "===================================================================\n";
|
||||
for my $r (sort { $a->{File}->{line} <=> $b->{File}->{line} || $a->{ReviewerId} cmp $b->{ReviewerId} } @{$ISSUES{$fn} || []}) {
|
||||
|
Reference in New Issue
Block a user