bogun....@gmail.com
unread,Dec 22, 2011, 7:00:45 PM12/22/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cherrypy-devel
Hello.
In many cases cherrypy.url used to create absolute url path from relative. To do this, it append it's argument "path" to cherrypy.request.path_info. And here the pbolbem araises - whie cliend code can control quote status sent "path" argument, it have no controll over quote status of attached prefix(cherrypy.query.path_info).
If path_info contain for example "/a/b/разные_utf8_символы/" and we call cherrypy.url('c'), we receive incorrect url! And violate http spec, if it will be used in redirect.
Attach contain my proposition on fixing this.
PS cp-3.2.0