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

Changeset 1853

Show
Ignore:
Timestamp:
01/13/08 16:58:08
Author:
fumanchu
Message:

Fix to wsgi parsing of the URI "*".

Files:

Legend:

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

    r1672 r1853  
    1717    resource = httptools.urljoin(environ.get('SCRIPT_NAME', ''), 
    1818                                 environ.get('PATH_INFO', '')) 
    19     if not (resource == "*" or resource.startswith("/")): 
     19    if resource == "/*": 
     20        resource = "*" 
     21    elif not resource.startswith("/"): 
    2022        resource = "/" + resource 
    2123     

Hosted by WebFaction

Log in as guest/cpguest to create tickets