I checked out the trunk and the changes don't seem to work.
After I
raise an InternalRedirect the parameters from the original
request
(from the browser url) get passed on the redirected request.
Regardless
of whether '?' or not is inthe url.
After looking at _cperror.py I see the following code:
If you supply a query string, it will replace
request.params.
If you omit the query string (no question mark), the
params from
the
original request will remain in effect.
To erase any query string parameters, write url +
"?" with no
params.
"""
self.query_string = ""
if "?" in path:
# Separate any params included in the path
path, self.query_string =
path.split("?", 1)
self.query_string is being set to "" regardless of
whether '?' is in
the url or not.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-users googlegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribe googlegroups.com
For more options, visit this group at ht
tp://groups-beta.google.com/group/cherrypy-users
-~----------~----~----~----~------~----~------~--~---
|