File tree Expand file tree Collapse file tree 10 files changed +22
-13
lines changed
test/library-tests/frameworks Expand file tree Collapse file tree 10 files changed +22
-13
lines changed Original file line number Diff line number Diff line change @@ -47,8 +47,6 @@ private import semmle.python.frameworks.Toml
4747private import semmle.python.frameworks.Tornado
4848private import semmle.python.frameworks.Twisted
4949private import semmle.python.frameworks.Ujson
50- private import semmle.python.frameworks.Urllib
51- private import semmle.python.frameworks.Urllib2
5250private import semmle.python.frameworks.Urllib3
5351private import semmle.python.frameworks.Yaml
5452private import semmle.python.frameworks.Yarl
Original file line number Diff line number Diff line change @@ -13,6 +13,9 @@ private import semmle.python.frameworks.PEP249
1313private import semmle.python.frameworks.internal.PoorMansFunctionResolution
1414private import semmle.python.frameworks.internal.SelfRefMixin
1515private import semmle.python.frameworks.internal.InstanceTaintStepsHelper
16+ // modeling split over multiple files to keep this file from becoming too big
17+ private import semmle.python.frameworks.Stdlib.Urllib
18+ private import semmle.python.frameworks.Stdlib.Urllib2
1619
1720/** Provides models for the Python standard library. */
1821module Stdlib {
Original file line number Diff line number Diff line change 11/**
2- * Provides classes modeling security-relevant aspects of the `urllib` PyPI package.
3- * See https://docs.python.org/3.9/library/urllib.html
2+ * Provides classes modeling security-relevant aspects of the `urllib` module, part of
3+ * the Python standard library.
4+ *
5+ * See
6+ * - https://docs.python.org/2/library/urllib.html
7+ * - https://docs.python.org/3/library/urllib.html
48 */
59
610private import python
711private import semmle.python.Concepts
812private import semmle.python.ApiGraphs
913
1014/**
11- * Provides models for the `Urllib` PyPI package.
12- * see https://docs.python.org/3.9/library/urllib.html
15+ * Provides models for the `urllib` module, part of
16+ * the Python standard library.
17+ *
18+ * See
19+ * - https://docs.python.org/2/library/urllib.html
20+ * - https://docs.python.org/3/library/urllib.html
1321 */
1422private module Urllib {
1523 /**
Original file line number Diff line number Diff line change 11/**
2- * Provides classes modeling security-relevant aspects of the `urllib2` PyPI package.
2+ * Provides classes modeling security-relevant aspects of the `urllib2` module, part of
3+ * the Python 2 standard library.
4+ *
35 * See https://docs.python.org/2/library/urllib2.html
46 */
57
@@ -8,8 +10,10 @@ private import semmle.python.Concepts
810private import semmle.python.ApiGraphs
911
1012/**
11- * Provides models for the `urllib2` PyPI package.
12- * see https://docs.python.org/2/library/urllib2.html
13+ * Provides models for the the `urllib2` module, part of
14+ * the Python 2 standard library.
15+ *
16+ * See https://docs.python.org/2/library/urllib2.html
1317 */
1418private module Urllib2 {
1519 /**
File renamed without changes.
File renamed without changes.
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments