mirror of
https://github.com/xcat2/confluent.git
synced 2025-01-18 05:33:17 +00:00
Jarrod Johnon
a9eab61567
Handle broken cookies from other sites in domain
If a web application in a wider domain sets a cookie that python doesn't like, a CookieError would be raised to ruin the whole request. Address by subclassing SimpleCookie to catch the cookie error and set an empty Morsel rather than fail out. This allows the errant cookie to be ignored while still being able to check for the cookie that we actually care about.
Description
Languages
Python
80.4%
Shell
15.6%
C
3.6%
Perl
0.3%