Repository navigation
Commit b4198a8
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 de84a64 commit b4198a8
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 | | |
| |||
1114 | 1120 | | |
1115 | 1121 | | |
1116 | 1122 | | |
| 1123 | + | |
| 1124 | + | |
| 1125 | + | |
1117 | 1126 | | |
1118 | 1127 | | |
1119 | 1128 | | |
| |||
1502 | 1511 | | |
1503 | 1512 | | |
1504 | 1513 | | |
| 1514 | + | |
| 1515 | + | |
1505 | 1516 | | |
1506 | 1517 | | |
1507 | 1518 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
936 | 936 | | |
937 | 937 | | |
938 | 938 | | |
939 | | - | |
940 | | - | |
| 939 | + | |
| 940 | + | |
941 | 941 | | |
942 | 942 | | |
| 943 | + | |
| 944 | + | |
| 945 | + | |
| 946 | + | |
| 947 | + | |
| 948 | + | |
| 949 | + | |
| 950 | + | |
| 951 | + | |
| 952 | + | |
| 953 | + | |
| 954 | + | |
| 955 | + | |
| 956 | + | |
| 957 | + | |
| 958 | + | |
| 959 | + | |
| 960 | + | |
| 961 | + | |
| 962 | + | |
| 963 | + | |
| 964 | + | |
| 965 | + | |
| 966 | + | |
| 967 | + | |
| 968 | + | |
| 969 | + | |
943 | 970 | | |
944 | 971 | | |
945 | 972 | | |
| |||
1439 | 1466 | | |
1440 | 1467 | | |
1441 | 1468 | | |
| 1469 | + | |
1442 | 1470 | | |
1443 | 1471 | | |
1444 | 1472 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
0 commit comments