Skip to content

Commit 141b9ad

Browse files
RasmusWLyoff
andauthored
Python: Minor refactoring
Co-authored-by: yoff <[email protected]>
1 parent 3094aed commit 141b9ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/ql/src/semmle/python/Concepts.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ module HTTP {
404404

405405
/** A parameter that will receive parts of the url when handling an incoming request. */
406406
private class RoutedParameter extends RemoteFlowSource::Range, DataFlow::ParameterNode {
407-
RoutedParameter() { this.getParameter() = any(RequestHandler setup).getARoutedParameter() }
407+
RoutedParameter() { this.getParameter() = any(RequestHandler handler).getARoutedParameter() }
408408

409409
override string getSourceType() { result = "RoutedParameter" }
410410
}

0 commit comments

Comments
 (0)