still gets repaced by _
On Sep 11, 9:52 am, Jonathan Lundell <[email protected]> wrote:
> On Sep 11, 2009, at 1:16 AM, Richard wrote:
>
> > I want to make my URLs pretty with "/default/record/green apple"
> > instead of "default/record/42".
> > But the white spaces are being parsed so that request.args[0] comes in
> > as "green_apple".
> > I can't do request.args[0].replace('_', ' '), because the original
> > string may have included an underscore. So, what do you suggest?
>
> How about %20?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py-users" 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/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---