Skip to content

Commit a878bc6

Browse files
committed
python: add model for urllib.urlparse
1 parent d59f721 commit a878bc6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

python/ql/lib/semmle/python/frameworks/Stdlib.model.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,8 @@ extensions:
142142
- ["typing", "Member[cast]", "Argument[1,val:]", "ReturnValue", "value"]
143143
# See https://docs.python.org/3/library/urllib.parse.html#urllib.parse.parse_qs
144144
- ["urllib", "Member[parse].Member[parse_qs]", "Argument[0,qs:]", "ReturnValue", "taint"]
145+
# See https://docs.python.org/3/library/urllib.parse.html#urllib.parse.urlparse
146+
- ["urllib", "Member[parse].Member[urlparse]", "Argument[0,urlstring:]", "ReturnValue", "taint"]
145147
# See https://docs.python.org/3/library/urllib.parse.html#urllib.parse.quote
146148
- ["urllib", "Member[parse].Member[quote]", "Argument[0,string:]", "ReturnValue", "taint"]
147149
# See https://docs.python.org/3/library/urllib.parse.html#urllib.parse.quote_plus

0 commit comments

Comments
 (0)