On 12/1/06, José de Paula Eufrásio Júnior <[EMAIL PROTECTED]> wrote: > > I want some URL's to be reached like > > http://site.mp/search/http://pythondance.com > > Or any other "search string" (the part after search/) that may include > "/". I tried to use the keywords on a search method, but cherrypy > splits the URL at '/' and I don't know how to say to it "hey, > everything after the slash is just one argument..." >
Yes, you'll have to use urllib.quote() to escape special characters (i.e. the / and : chars amongst others) after /search/ otherwise cherrypy will try to use the rest of the path to dispatch your request to a controller method. -- Lee McFadden blog: http://www.splee.co.uk work: http://fireflisystems.com skype: fireflisystems --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" 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?hl=en -~----------~----~----~----~------~----~------~--~---

