On Fri, Oct 24, 2008 at 4:44 PM, Anand Chitipothu <[EMAIL PROTECTED]>wrote:
>
> On Sat, Oct 25, 2008 at 3:41 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
> wrote:
> >
> > web.setcookie('siteid', uuid.uuid3(uuid.NAMESPACE_DNS, 'XXX.com'),
> > '.XXX.com')
> > File "/home/mark/work/common/web/webapi.py", line 223, in setcookie
> > cookie[name] = urllib.quote(value)
>
> Try changinh the code to:
>
> cookie[name] = urllib.quote(utf8(value))
OK, this seems to fix the problem!
thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web.py" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---