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

Changeset 1463

Show
Ignore:
Timestamp:
12/01/06 23:34:22
Author:
fumanchu
Message:

Fix for #613 (HTTPRedirect from default handler goes up one directory).

Files:

Legend:

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

    r1431 r1463  
    132132                    object_trail.insert(i+1, ["default", defhandler, conf, curpath]) 
    133133                    request.config = set_conf() 
    134                     request.is_index = False 
     134                    # See http://www.cherrypy.org/ticket/613 
     135                    request.is_index = path.endswith("/") 
    135136                    return defhandler, names[i:-1] 
    136137             

Hosted by WebFaction

Log in as guest/cpguest to create tickets