Repository navigation
Commit 1b5a6f7
gh-160300: Reject cookies with a negative version in http.cookiejar (GH-160301)
DefaultCookiePolicy only applied its domain checks to cookies with
version 0 or a positive version.
ANT-2026-TA36I7V7
(cherry picked from commit d59d968)
Co-authored-by: Gregory P. Smith <68491+gpshead@users.noreply.github.com>
1 parent 0a8940c commit 1b5a6f7
3 files changed
Lines changed: 44 additions & 2 deletions
File tree
- Lib
- http
- test
- Misc/NEWS.d/next/Security
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
974 | 974 | | |
975 | 975 | | |
976 | 976 | | |
| 977 | + | |
| 978 | + | |
| 979 | + | |
| 980 | + | |
| 981 | + | |
| 982 | + | |
977 | 983 | | |
978 | 984 | | |
979 | 985 | | |
| |||
1117 | 1123 | | |
1118 | 1124 | | |
1119 | 1125 | | |
| 1126 | + | |
| 1127 | + | |
| 1128 | + | |
1120 | 1129 | | |
1121 | 1130 | | |
1122 | 1131 | | |
| |||
1505 | 1514 | | |
1506 | 1515 | | |
1507 | 1516 | | |
| 1517 | + | |
| 1518 | + | |
1508 | 1519 | | |
1509 | 1520 | | |
1510 | 1521 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
943 | 943 | | |
944 | 944 | | |
945 | 945 | | |
946 | | - | |
947 | | - | |
| 946 | + | |
| 947 | + | |
948 | 948 | | |
949 | 949 | | |
| 950 | + | |
| 951 | + | |
| 952 | + | |
| 953 | + | |
| 954 | + | |
| 955 | + | |
| 956 | + | |
| 957 | + | |
| 958 | + | |
| 959 | + | |
| 960 | + | |
| 961 | + | |
| 962 | + | |
| 963 | + | |
| 964 | + | |
| 965 | + | |
| 966 | + | |
| 967 | + | |
| 968 | + | |
| 969 | + | |
| 970 | + | |
| 971 | + | |
| 972 | + | |
| 973 | + | |
| 974 | + | |
| 975 | + | |
| 976 | + | |
950 | 977 | | |
951 | 978 | | |
952 | 979 | | |
| |||
1446 | 1473 | | |
1447 | 1474 | | |
1448 | 1475 | | |
| 1476 | + | |
1449 | 1477 | | |
1450 | 1478 | | |
1451 | 1479 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
0 commit comments