Evert Rol wrote:
>    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

Unfortunately in WSGI the path is decoded, which means that %2f and / 
look exactly the same to Routes.  So there's not really a good way to 
resolve this.  I would recommend normalizing your IDs so that / doesn't 
appear in them.

   Ian


--~--~---------~--~----~------------~-------~--~----~
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