Commits

Anonymous committed 912ce0f

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).

  • Participants
  • Parent commits e5e555e
  • Branches cherrypy-2.x

Comments (0)

Files changed (1)

cherrypy/lib/httptools.py

 
 def parseRequestLine(requestLine):
     """Return (method, path, querystring, protocol) from a requestLine."""
-    splitLine = requestLine.split()
+    splitLine = requestLine.split(" ")
     method, protocol = splitLine[0], splitLine[-1]
     path = " ".join(splitLine[1:-1])