Commits

Remi Delon  committed f418e1d

Handle empty pathInfo in wsgiApp

  • Participants
  • Parent commits 7e8d224

Comments (0)

Files changed (1)

File cherrypy/wsgiapp.py

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