Commit 5e9ddc03 authored by Jim Fulton's avatar Jim Fulton

Hopefully fixed cookie parsing.

parent 9d82bbdc
...@@ -491,7 +491,7 @@ Publishing a module using Fast CGI ...@@ -491,7 +491,7 @@ Publishing a module using Fast CGI
o Configure the Fast CGI-enabled web server to execute this o Configure the Fast CGI-enabled web server to execute this
file. file.
$Id: Publish.py,v 1.48 1997/09/08 14:47:11 jim Exp $""" $Id: Publish.py,v 1.49 1997/09/09 20:25:21 jim Exp $"""
#' #'
# Copyright # Copyright
# #
...@@ -546,7 +546,7 @@ $Id: Publish.py,v 1.48 1997/09/08 14:47:11 jim Exp $""" ...@@ -546,7 +546,7 @@ $Id: Publish.py,v 1.48 1997/09/08 14:47:11 jim Exp $"""
# See end of file for change log. # See end of file for change log.
# #
########################################################################## ##########################################################################
__version__='$Revision: 1.48 $'[11:-2] __version__='$Revision: 1.49 $'[11:-2]
def main(): def main():
...@@ -1365,7 +1365,7 @@ def parse_cookie(text, ...@@ -1365,7 +1365,7 @@ def parse_cookie(text,
), ),
): ):
result=result or {} if result is None: result={}
if parmre.match(text) >= 0: if parmre.match(text) >= 0:
name=lower(parmre.group(2)) name=lower(parmre.group(2))
...@@ -1457,6 +1457,9 @@ def publish_module(module_name, ...@@ -1457,6 +1457,9 @@ def publish_module(module_name,
# #
# $Log: Publish.py,v $ # $Log: Publish.py,v $
# Revision 1.49 1997/09/09 20:25:21 jim
# Hopefully fixed cookie parsing.
#
# Revision 1.48 1997/09/08 14:47:11 jim # Revision 1.48 1997/09/08 14:47:11 jim
# Got cookies out of request str. # Got cookies out of request str.
# #
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment