Need a way to get the url submitted to a InternalRedirect
To get the complete URL (with parameters) was broken when a Internal Redirect was raised. It does not happen very often, but in some places one internal redirect raises another internal redirect.
In each of the above case I need to get the full url (including parameters) of the last internal redirect request.
I made the changes by editing:
self.redirectionsIr = 
Then anywhere in my application I do the following to get the current page url:
if cherrypy.request.redirectionsIr: context.currentPageUrl = urllib.quote(cherrypy.request.redirectionsIr[-1]) else: context.currentPageUrl = urllib.quote(cherrypy.request.browser_url)