Commits

Anonymous committed e8a2fc8

Handle empty pathInfo in wsgiApp

  • Participants
  • Parent commits 6981ca4
  • Branches cherrypy

Comments (0)

Files changed (1)

         pathInfo += '?' + qString
     firstLine = '%s %s %s' % (
         environ['REQUEST_METHOD'],
-        pathInfo,
+        pathInfo or '/',
         environ['SERVER_PROTOCOL']
     )
     _cphttptools.parseFirstLine(firstLine)