Download Install Tutorial Docs FAQ Tools WikiLicense Team IRC Planet Involvement Shop Book

Changeset 2020

Show
Ignore:
Timestamp:
07/09/08 16:14:11
Author:
nick125
Message:

Fix a small issue in r2019 so we explicitly state we want to split by spaces (" ") rather than use split()'s default splitting algorithm (which splits on spaces, newlines, etc).

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/cherrypy-2.x/cherrypy/lib/httptools.py

    r2019 r2020  
    318318def parseRequestLine(requestLine): 
    319319    """Return (method, path, querystring, protocol) from a requestLine.""" 
    320     splitLine = requestLine.split(
     320    splitLine = requestLine.split(" "
    321321    method, protocol = splitLine[0], splitLine[-1] 
    322322    path = " ".join(splitLine[1:-1]) 

Hosted by WebFaction

Log in as guest/cpguest to create tickets