mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
785 B
785 B
lgtm,codescanning
- Improved modeling of
djangoto recognize request handlers functions that are decorated (for example withdjango.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. - Improved modeling of django View classes. We now consider any class using in a routing setup with
<class>.as_view()as django view class. This leads to more sources of remote user input (RemoteFlowSource), since we correctly identify the first parameter as being passed a django request. - Improved modeling of
django, so for View classes we now modelself.request,self.args, andself.kwargsas sources of remote user input (RemoteFlowSource).