Hello Pyloneers, I try to implement a gdata like category search in my app but I have a hard time embedding an url inside the url and getting it back unmangled.
Here is how I want to express "search for an item that is also a bar with type 42 but not a foo number 1": http://xmpl.com/items/-/{http://xmpl.com/bar}42/-{http://xmpl.com/foo}/1 In other words, I map Atom categories to {scheme}term This is all mostly working except that some part of Pylons converts all occurences of "//" to "/". This is probably not routes since I do get the extra slashes when I call match() directly: In [5]: import routes In [6]: m = routes.Mapper() In [7]: m.connect("/foo/*url", controller="bar", action="asd") In [8]: m.match("/foo/qwe///qwe/qux////1") Out[8]: {'action': u'asd', 'controller': u'bar', 'url': u'qwe///qwe/qux////1'} Passing the slashes as %2f do not help: it seems that the stripping occurs after the URL decoding. Does anyone know where this stripping occurs and if it's possible to selectively disable it? -- Yannick Gingras --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to pylons-discuss@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---