comparison libervia/server/server.py @ 1158:fb4b4da61132

backend: fixed args transmission on page redirection.
author Goffi <goffi@goffi.org>
date Sat, 23 Feb 2019 21:05:06 +0100
parents 94f9d81a475e
children ef3adc3f2078
comparison
equal deleted inserted replaced
1157:64952ba7affe 1158:fb4b4da61132
463 old=request.uri.decode("utf-8"), new=uri.decode("utf-8") 463 old=request.uri.decode("utf-8"), new=uri.decode("utf-8")
464 ) 464 )
465 ) 465 )
466 # we change the request to reflect the new url 466 # we change the request to reflect the new url
467 request.postpath = path_list[1:] + request.postpath 467 request.postpath = path_list[1:] + request.postpath
468 request.args = args 468 request.args.update(args)
469 469
470 # we start again to look for a child with the new url 470 # we start again to look for a child with the new url
471 return self.getChildWithDefault(path_list[0], request) 471 return self.getChildWithDefault(path_list[0], request)
472 472
473 def getPageByName(self, name): 473 def getPageByName(self, name):