Python: Handle view functions with decorators

This commit is contained in:
Rasmus Wriedt Larsen
2021-02-10 15:47:55 +01:00
parent eb7e30d472
commit 42eceb80bd
3 changed files with 23 additions and 2 deletions

View File

@@ -0,0 +1,2 @@
lgtm,codescanning
* Improved modeling of `django` to recognize request handlers functions that are decorated (for example with `django.views.decorators.http.require_GET`). This leads to more sources of remote user input (`RemoteFlowSource`), since we correctly identify the first parameter as being passed a django request.