[issue22931] cookies with square brackets in value

2014-11-24 Thread Waldemar Parzonka

New submission from Waldemar Parzonka:

There seems to be weird behaviour in BaseCookie.load() when cookie that has '[' 
in one of the values is being loaded.

There is no exception being thrown as the key is still legal but the cookie is 
not getting loaded properly and everything that was after the '[' valued cookie 
is being silently ignored.

>>> dd = SimpleCookie()
>>> dd

>>> s = 'a=b; c=[; d=r; f=h'
>>> dd.load(s)
>>> dd

>>>

--
components: Library (Lib)
messages: 231605
nosy: Waldemar.Parzonka
priority: normal
severity: normal
status: open
title: cookies with square brackets in value
type: behavior
versions: Python 3.3

___
Python tracker 
<http://bugs.python.org/issue22931>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22931] cookies with square brackets in value

2014-12-02 Thread Waldemar Parzonka

Waldemar Parzonka added the comment:

Thanks for taking a look into that.

And yes the behaviour when invalid value is encountered is bit weird as the 
rest of the cookie is being silently ignored which is probably less than ideal 
in most cases.

Just wonder if there is any easy way of making the matching more aware as 
browsers may allow various things as cookie values I guess.

--

___
Python tracker 
<http://bugs.python.org/issue22931>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22983] Cookie parsing should be more permissive

2014-12-03 Thread Waldemar Parzonka

Changes by Waldemar Parzonka :


--
nosy: +Waldemar.Parzonka

___
Python tracker 
<http://bugs.python.org/issue22983>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6766] Cannot modify dictionaries inside dictionaries using Managers from multiprocessing

2015-06-15 Thread Waldemar Parzonka

Changes by Waldemar Parzonka :


--
nosy: +Waldemar.Parzonka

___
Python tracker 
<http://bugs.python.org/issue6766>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com