Hi all,

I'm having a problem with encoded forward slashes in a URL. That is,  
I need to pass an 'id' that has encoded forward slashes in its name,  
but this results in routes not being be able map the URL: apparently  
it sees another subset of paths in the URL, even with the slashes  
encoded as %2F.

As an example, this is the actual URL called:

   http://127.0.0.1:5000/finder/select/R%2F2007%2F23

and this is my routes setup, very basic:

   map.connect('error/:action/:id', controller='error')
   map.connect(':controller/:action/:id')
   map.connect('*url', controller='template', action='view')


The call never arrives at 'def select()' in 'class FinderController',  
but results in a 404. Leaving out the %2F characters works fine  
(other than that it doesn't result in the intended output from the  
controller, but well).

Is there something missing in the routes setup, or is my way of  
thinking incorrect? This should be the way to pass forward slashes to  
a URL, right?

Thanks,

   Evert


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to