anand:
what about this part?

    cookie[name] = urllib.quote(value)

you gave a fix changing this as utf8(value)



diff --git a/web/webapi.py b/web/webapi.py
index 7e04871..4a66cbb 100644
--- a/web/webapi.py
+++ b/web/webapi.py
@@ -235,7 +235,7 @@ def cookies(*requireds, **defaults):
     try:
         d = storify(cookie, *requireds, **defaults)
         for k, v in d.items():
-            d[k] = urllib.unquote(v)
+            d[k] = urllib.unquote(utf8(v))
         return d
     except KeyError:
         badrequest()

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to