mirror of
https://github.com/github/codeql.git
synced 2026-05-05 13:45:19 +02:00
Python: rest_framework.decorators.api_view handling
Had to expose even more things, and had to make the `DjangoRouteHandler` modeling more flexible so I could extend the char-pred in a different file.
This commit is contained in:
@@ -119,8 +119,11 @@ urlpatterns = [
|
||||
# framework
|
||||
|
||||
@api_view(["POST"])
|
||||
def function_based_no_route(request: Request, possible_routed_param):
|
||||
ensure_tainted(request, possible_routed_param) # $ MISSING: tainted
|
||||
def function_based_no_route(request: Request, possible_routed_param): # $ requestHandler routedParameter=possible_routed_param
|
||||
ensure_tainted(
|
||||
request, # $ MISSING: tainted
|
||||
possible_routed_param, # $ tainted
|
||||
)
|
||||
|
||||
|
||||
class ClassBasedNoRoute(APIView):
|
||||
|
||||
Reference in New Issue
Block a user