On Jul 25, 5:28 pm, "Lawrence Oluyede" <[EMAIL PROTECTED]> wrote:
>
> I think there's no fix for this. / is the path separator in URL
> specification (seehttp://www.faqs.org/rfcs/rfc1738.html).
> So you should avoid considering '/' as part of your "code"
>

Thank you

> You are not bound to expose database / backend IDs on the web (and in
> most cases you should not) so I think the best way is to
> use another convention and in your code translate the code into
> something meaningful for your logic.
>

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

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