--- util.py.orig	2006-11-13 14:18:44.000000000 +0300
+++ util.py	2006-11-13 14:14:17.000000000 +0300
@@ -206,6 +206,12 @@
         shortline = text[:i]+' ...'
     return shortline
 
+def quote_cookie_value(path): 
+    """ 
+    Cookie values can not contain " ,;" characters. 
+    """ 
+    return path.replace(' ', '%20').replace(';', '%3B').replace(',', '%3C')
+
 def hex_entropy(bytes=32):
     import md5
     import random
