Skip to content

Commit

Permalink
Merge pull request #126 from LTe/any_plus
Browse files Browse the repository at this point in the history
Use any+ instead of any{1,}
  • Loading branch information
dmajda committed Aug 19, 2012
2 parents 1346ddb + 13a1bfa commit 4f6078e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/scanny/checks/denial_of_service_check.rb
Expand Up @@ -22,7 +22,7 @@ def pattern_find_with_like
SendWithArguments<
arguments = ActualArguments<
array = [
any{1,},
any+,
HashLiteral<
array = [
any{even},
Expand Down
2 changes: 1 addition & 1 deletion lib/scanny/checks/sql_injection/find_method_check.rb
Expand Up @@ -59,7 +59,7 @@ def pattern_find_by_with_conditions
SendWithArguments<
arguments = ActualArguments<
array = [
any{1,},
any+,
HashLiteral<
array = [
any{even},
Expand Down
Expand Up @@ -22,7 +22,7 @@ def pattern_find_by_with_conditions_dynamic_string
SendWithArguments<
arguments = ActualArguments<
array = [
any{1,},
any+,
HashLiteral<
array = [
any{even},
Expand Down
Expand Up @@ -57,7 +57,7 @@ def pattern_find_with_conditions_and_params_or_limit
SendWithArguments<
arguments = ActualArguments<
array = [
any{1,},
any+,
HashLiteral<
array = [
any{even},
Expand Down

0 comments on commit 4f6078e

Please sign in to comment.