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
47
47
private import semmle.python.frameworks.Tornado
48
48
private import semmle.python.frameworks.Twisted
49
49
private import semmle.python.frameworks.Ujson
50
- private import semmle.python.frameworks.Urllib
51
- private import semmle.python.frameworks.Urllib2
52
50
private import semmle.python.frameworks.Urllib3
53
51
private import semmle.python.frameworks.Yaml
54
52
private 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
13
13
private import semmle.python.frameworks.internal.PoorMansFunctionResolution
14
14
private import semmle.python.frameworks.internal.SelfRefMixin
15
15
private 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
16
19
17
20
/** Provides models for the Python standard library. */
18
21
module Stdlib {
Original file line number Diff line number Diff line change 1
1
/**
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
4
8
*/
5
9
6
10
private import python
7
11
private import semmle.python.Concepts
8
12
private import semmle.python.ApiGraphs
9
13
10
14
/**
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
13
21
*/
14
22
private module Urllib {
15
23
/**
Original file line number Diff line number Diff line change 1
1
/**
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
+ *
3
5
* See https://docs.python.org/2/library/urllib2.html
4
6
*/
5
7
@@ -8,8 +10,10 @@ private import semmle.python.Concepts
8
10
private import semmle.python.ApiGraphs
9
11
10
12
/**
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
13
17
*/
14
18
private module Urllib2 {
15
19
/**
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