From 701531ea26a36009e197b2c8bda1a6b47f09938c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E1=B4=87s=E1=B4=9B?= Date: Wed, 3 Jul 2019 17:16:11 +0800 Subject: [PATCH] fix large cookie warn comment I thing the word is wrong here --- src/werkzeug/http.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/werkzeug/http.py b/src/werkzeug/http.py index 3f40b3080..f32032789 100644 --- a/src/werkzeug/http.py +++ b/src/werkzeug/http.py @@ -1195,9 +1195,9 @@ def dump_cookie( if not PY2: rv = rv.decode("latin1") - # Warn if the final value of the cookie is less than the limit. If the - # cookie is too large, then it may be silently ignored, which can be quite - # hard to debug. + # Warn if the final value of the cookie is larger than the limit. If the + # cookie is too large, then it may be silently ignored by the browser, + # which can be quite hard to debug. cookie_size = len(rv) if max_size and cookie_size > max_size: