> I'm working in a intranet environment, and the '/' is a item code
> naming convention in ERP and the field compose the key of database
> table.
>
> For workaround I chosen to replace backslash with underscore when i
> create the url, and replace the '_' where i use it in the sql
> statement params.
>
> item_code.replace('/', '_')
>
> Thanks again
For a potentially cleaner solution you could pass these values as
querystring params. This way you won't run itno trouble down the road when
unescaping and trying to differentiate between a real _ and an escaped /.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---