Skip to content

Commit

Permalink
fix(python): fix typos in redirect and django user input rules (#417)
Browse files Browse the repository at this point in the history
  • Loading branch information
didroe authored May 23, 2024
1 parent 316fbf2 commit 4290656
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion rules/python/django/open_redirect.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ imports:
patterns:
- pattern: $<RESPONSE_CLASS>($<USER_INPUT>$<...>)
filters:
- variable: FUNCTION
- variable: RESPONSE_CLASS
detection: python_shared_lang_import2
scope: cursor
filters:
Expand Down
1 change: 1 addition & 0 deletions rules/python/shared/django/user_input.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ patterns:
- variable: REQUEST
detection: python_shared_django_user_input_request
scope: cursor
- variable: METHOD
values:
- content_params
- GET
Expand Down

0 comments on commit 4290656

Please sign in to comment.