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

Changeset 168

Show
Ignore:
Timestamp:
04/26/05 09:06:14
Author:
rdelon
Message:

Fixed bug in httptools.redirect

Files:

Legend:

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

    r156 r168  
    3636def canonicalizeUrl(url): 
    3737    """ Canonicalize a URL. The URL might be relative, absolute or canonical """ 
    38     return urlparse.urljoin(cpg.request.base, url) 
     38    return urlparse.urljoin(cpg.request.browserUrl, url) 
    3939 
    4040def redirect(url): 

Hosted by WebFaction

Log in as guest/cpguest to create tickets