diff options
author | Daniel Stenberg <daniel@haxx.se> | 2017-09-18 00:55:07 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2017-09-18 22:55:50 +0200 |
commit | 2bc230de63bd7da197280a69d84972b61455cd18 (patch) | |
tree | b616832f6cd1138851d1ed87ba68fb60e0a5c85f /tests/data/Makefile.inc | |
parent | 1a072796d390a7f56739d48a5158c250e211e2f7 (diff) |
cookies: reject oversized cookies
... instead of truncating them.
There's no fixed limit for acceptable cookie names in RFC 6265, but the
entire cookie is said to be less than 4096 bytes (section 6.1). This is
also what browsers seem to implement.
We now allow max 5000 bytes cookie header. Max 4095 bytes length per
cookie name and value. Name + value together may not exceed 4096 bytes.
Added test 1151 to verify
Bug: https://curl.haxx.se/mail/lib-2017-09/0062.html
Reported-by: Kevin Smith
Closes #1894
Diffstat (limited to 'tests/data/Makefile.inc')
-rw-r--r-- | tests/data/Makefile.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/data/Makefile.inc b/tests/data/Makefile.inc index c26699ab0..1bfd75eca 100644 --- a/tests/data/Makefile.inc +++ b/tests/data/Makefile.inc @@ -121,7 +121,7 @@ test1112 test1113 test1114 test1115 test1116 test1117 test1118 test1119 \ test1120 test1121 test1122 test1123 test1124 test1125 test1126 test1127 \ test1128 test1129 test1130 test1131 test1132 test1133 test1134 test1135 \ test1136 test1137 test1138 test1139 test1140 test1141 test1142 test1143 \ -test1144 test1145 test1146 test1147 test1148 test1149 test1150 \ +test1144 test1145 test1146 test1147 test1148 test1149 test1150 test1151 \ \ test1200 test1201 test1202 test1203 test1204 test1205 test1206 test1207 \ test1208 test1209 test1210 test1211 test1212 test1213 test1214 test1215 \ |