It uses the SimpleCookie.load method. we can make it more resilient at the
expense of using our own parser which would be slower. I think we should
leave this alone but I will bring this up on web2py-developers. Feel free
to join that list. It is public.
On Monday, December 3, 2012 6:36:30 PM U
Ok, found the issue (probably specific to my environment). One of the
cookies seems to be "badly formatted", specifically "lib/pb_server.py"
(still trying to find where that one comes from).
In web2py main.py, the following code will only load the cookies up to the
bad one:
#
Hi Massimo,
sure, the parsing code is as follows:
def getCookie(name):
cookies = self.request.env.http_cookie.split(';')
for cookie in cookies:
cookie = cookie.strip()
if cookie.startswith(name):
temp = cookie.spl
Can you post your cookie parsing code? It would help us understand the
problem.
On Monday, 3 December 2012 15:28:12 UTC-6, Dominic Cioccarelli wrote:
>
> Hi all,
>
> I have discovered an issue with the way web2py treats the "cookies"
> header. Specifically, when the header grows bigger than a ce
4 matches
Mail list logo