Hello Alberto, I'm writing to you regarding http://trac.turbogears.org/ticket/2241
Apparently this is a bug in the WSGIAppController.default handles the change of path. From looking at the code, the original copies the request to fool the WSGIApp into thinking it's mounted at the root of the site, which should fix all the issues with URL generation, and rewinds the request for the wsgi app to reread. As you can see from my last comment on the ticket I wanted to implement this inside the HGController but it's simply not possible as I have no access to the copied request. Which lead me to ask why copy the request in the first place? Can't we just reuse the original one with the modified pathinfo? I'm sure you had a reason so this is why I'm asking. As a temporal patch I'll overwrite default on tgext.wsgiapps.HGController class but I find that to be a temporal patch. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears Trunk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/turbogears-trunk?hl=en -~----------~----~----~----~------~----~------~--~---
