Need help cloning? Visit
is a free Git and Mercurial client for Windows.
is a free Git and Mercurial client for Mac.
newUrl = cpg.request.browserUrl[:i+1] + newUrl
newUrl = cpg.request.browserUrl + newUrl
I can't find this code in _cphttptools ...
it's not _cphttptools.py but in /cherrypy/lib/httptools.py,a function called "redirect". viriable i is not defined,and I suppose it's no use here.
Oh, sorry, I wasn't looking in the right file :-)
lig/httptools.py should be fixed now.
Need more out of your issue tracker?
Learn more about JIRA