--- ./cherrypy/_cphttptools.py.vanilla	2009-02-03 14:04:42.000000000 +0200
+++ ./cherrypy/_cphttptools.py	2009-02-03 16:20:13.000000000 +0200
@@ -200,7 +200,16 @@ class Request(object):
             # Handle cookies differently because on Konqueror, multiple
             # cookies come on different lines with the same key
             if name.title() == 'Cookie':
-                self.simple_cookie.load(value)
+                # Cookies with a colon (":") are invalid according to rfc2965
+                # and rfc2068. However if the browser send such a cookie, we
+                # want to ignore it and continue instead of returning an
+                # "500 Internal Server Error" error. More infos on:
+                # http://www.cherrypy.org/ticket/868
+                try:
+                    self.simple_cookie.load(value)
+                except Cookie.CookieError, e:
+                    cherrypy.log("Unable to load user's cookie. Cookie ignored.")
+
         
         # Save original values (in case they get modified by filters)
         # This feature is deprecated in 2.2 and will be removed in 2.3.
