You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mod_python-dev@quetz.apache.org by Ken Brownfield <kb...@irridia.com> on 2008/01/23 22:55:15 UTC

mod_python 3.3.1 bug and patch

I haven't seen traffic on this list, so I'm hoping this is still an  
appropriate place to post this type of report.

We're unable to use mod_python in production without this patch.  It's  
pretty self-explanatory:

--- Cookie.py	2007/12/15 21:45:42	1.1
+++ Cookie.py	2007/12/15 21:46:06
@@ -344,7 +344,7 @@

          # We just ditch the cookies names which start with a dollar  
sign since
          # those are in fact RFC2965 cookies attributes. See bug  
[#MODPYTHON-3].
-        if key[0]!='$' and names is None or key in names:
+        if key[0]!='$' and ( names is None or key in names ):
              result[key] = Class(key, val)

      return result

Thanks,
-- 
Ken.
kb@irridia.com


Re: mod_python 3.3.1 bug and patch

Posted by Graham Dumpleton <gr...@gmail.com>.
You should add this and any comments to the actual JIRA issue:

  https://issues.apache.org/jira/browse/MODPYTHON-3

It will get lost here on the mailing list.

Graham

On 24/01/2008, Ken Brownfield <kb...@irridia.com> wrote:
> I haven't seen traffic on this list, so I'm hoping this is still an
> appropriate place to post this type of report.
>
> We're unable to use mod_python in production without this patch.  It's
> pretty self-explanatory:
>
> --- Cookie.py   2007/12/15 21:45:42     1.1
> +++ Cookie.py   2007/12/15 21:46:06
> @@ -344,7 +344,7 @@
>
>           # We just ditch the cookies names which start with a dollar
> sign since
>           # those are in fact RFC2965 cookies attributes. See bug
> [#MODPYTHON-3].
> -        if key[0]!='$' and names is None or key in names:
> +        if key[0]!='$' and ( names is None or key in names ):
>               result[key] = Class(key, val)
>
>       return result
>
> Thanks,
> --
> Ken.
> kb@irridia.com
>
>
>
>
>
>