On 12/1/06, José de Paula Eufrásio Júnior <[EMAIL PROTECTED]> wrote: > > Is there a way to make cherrypy apply that to a URL before searching > for a handler? Like a filter or something? > Probably, but the point is that your URL's won't conform to the RFC's so anything else that might want to use your site may have a problem with them. You're better off just making sure that the data is escaped before the request is sent.
> > It's purely a cosmetic thing, and I don't even know if it's worth > discussing it, but URL's without 'extra' symbols don't look more > 'natural' to an user? Like this: > > http://site.mp/view/tag/sunshines > > is not a more 'natural' way of 'phrasing' a URL than > > http://site.mp/view?tag=catfish > > or > > http://site.mp/search/whatever search term (that will be translated in > whatever%20search%term by a sane browser) > > more 'natural' than > > http://site.mp/search?q=whatever+search+term (borrowing from famous > search site). > > It's just some toughts.... > I agree with you for most cases, but not all. Searches are one case where RESTful url's aren't really nessecary and, in some cases, aren't desired. -- 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 -~----------~----~----~----~------~----~------~--~---

