Skip to content

Commit d410136

Browse files
committed
python: compress models
1 parent c004ffa commit d410136

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

python/ql/lib/ext/StdLib.model.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ extensions:
1818
# See https://docs.python.org/3/library/urllib.parse.html#urllib.parse.quote_plus
1919
- ["urllib", "Member[parse].Member[quote_plus]", "Argument[0,string:]", "ReturnValue", "taint"]
2020
# See https://epydoc.sourceforge.net/stdlib/urllib-module.html
21-
- ["urllib", "Member[parse].Member[splitquery]", "Argument[0,url:]", "ReturnValue.TupleElement[0]", "taint"]
22-
- ["urllib", "Member[parse].Member[splitquery]", "Argument[0,url:]", "ReturnValue.TupleElement[1]", "taint"]
21+
- ["urllib", "Member[parse].Member[splitquery]", "Argument[0,url:]", "ReturnValue.TupleElement[0,1]", "taint"]
2322
# See https://docs.python.org/3/library/urllib.parse.html#urllib.parse.unquote
2423
- ["urllib", "Member[parse].Member[unquote]", "Argument[0,string:]", "ReturnValue", "taint"]
2524
# See https://docs.python.org/3/library/urllib.parse.html#urllib.parse.unquote_plus
@@ -28,8 +27,7 @@ extensions:
2827
# See https://docs.python.org/3/library/urllib.parse.html#urllib.parse.urlencode
2928
- ["urllib", "Member[parse].Member[urlencode]", "Argument[0,query:]", "ReturnValue", "taint"]
3029
# See https://docs.python.org/3/library/urllib.parse.html#urllib.parse.urljoin
31-
- ["urllib", "Member[parse].Member[urljoin]", "Argument[0,base:]", "ReturnValue", "taint"]
32-
- ["urllib", "Member[parse].Member[urljoin]", "Argument[1,url:]", "ReturnValue", "taint"]
30+
- ["urllib", "Member[parse].Member[urljoin]", "Argument[0,base:,1,url:]", "ReturnValue", "taint"]
3331
- addsTo:
3432
pack: codeql/python-all
3533
extensible: neutralModel

0 commit comments

Comments
 (0)