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

Changeset 1385

Show
Ignore:
Timestamp:
09/29/06 18:31:02
Author:
fumanchu
Message:

Fix for #579 (when query_string is None).

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/cherrypy/_cprequest.py

    r1371 r1385  
    425425            self.method = method 
    426426            path = path or "/" 
    427             self.query_string = query_string 
     427            self.query_string = query_string or '' 
    428428             
    429429            # Compare request and server HTTP protocol versions, in case our 
  • trunk/cherrypy/_cptree.py

    r1365 r1385  
    109109        path = env('SCRIPT_NAME', '') + env('PATH_INFO', '') 
    110110        response = request.run(environ['REQUEST_METHOD'], path, 
    111                                env('QUERY_STRING'), 
     111                               env('QUERY_STRING', ''), 
    112112                               env('SERVER_PROTOCOL'), 
    113113                               translate_headers(environ), 

Hosted by WebFaction

Log in as guest/cpguest to create tickets