Message369291
The following code crashes with TypeError:
URLopener().open("unknown_proxy://test")
the expected behavior is an OSError, which is normally raised for unknown protocols.
This implementation of directly calling a method called "unknown_proxy" is fragile and was recently the subject of a security issue: https://bugs.python.org/issue35907 (CVE-2019-9948)
Would be good to make this more robust. |
|
Date |
User |
Action |
Args |
2020-05-18 21:30:13 | Petter S | set | recipients:
+ Petter S |
2020-05-18 21:30:13 | Petter S | set | messageid: <1589837413.34.0.736050920356.issue40673@roundup.psfhosted.org> |
2020-05-18 21:30:13 | Petter S | link | issue40673 messages |
2020-05-18 21:30:12 | Petter S | create | |
|