Repository navigation
Commit 673da87
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 5cf3260 commit 673da87
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 | |
|---|---|---|---|
| |||
972 | 972 | | |
973 | 973 | | |
974 | 974 | | |
| 975 | + | |
| 976 | + | |
| 977 | + | |
| 978 | + | |
| 979 | + | |
| 980 | + | |
975 | 981 | | |
976 | 982 | | |
977 | 983 | | |
| |||
1112 | 1118 | | |
1113 | 1119 | | |
1114 | 1120 | | |
| 1121 | + | |
| 1122 | + | |
| 1123 | + | |
1115 | 1124 | | |
1116 | 1125 | | |
1117 | 1126 | | |
| |||
1500 | 1509 | | |
1501 | 1510 | | |
1502 | 1511 | | |
| 1512 | + | |
| 1513 | + | |
1503 | 1514 | | |
1504 | 1515 | | |
1505 | 1516 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
907 | 907 | | |
908 | 908 | | |
909 | 909 | | |
910 | | - | |
911 | | - | |
| 910 | + | |
| 911 | + | |
912 | 912 | | |
913 | 913 | | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
| 921 | + | |
| 922 | + | |
| 923 | + | |
| 924 | + | |
| 925 | + | |
| 926 | + | |
| 927 | + | |
| 928 | + | |
| 929 | + | |
| 930 | + | |
| 931 | + | |
| 932 | + | |
| 933 | + | |
| 934 | + | |
| 935 | + | |
| 936 | + | |
| 937 | + | |
| 938 | + | |
| 939 | + | |
| 940 | + | |
914 | 941 | | |
915 | 942 | | |
916 | 943 | | |
| |||
1410 | 1437 | | |
1411 | 1438 | | |
1412 | 1439 | | |
| 1440 | + | |
1413 | 1441 | | |
1414 | 1442 | | |
1415 | 1443 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
0 commit comments