On Feb 13, 2010, at 2:16 PM, DenesL wrote: > 1) Is that the only reason? > So there is no other objection to have args with accented chars in > them for example?. > Foreign languages would benefit from having args without such > restrictions. > > By 'access filesystems' are you refering to 'static'? > We could apply the restrictions only if the URL has c='static' or some > other mechanism when it needs to access filesystems. > > 2) And what about the first question: > Shouldn't URL create only URLs that are usable with web2py?
A lot of our systems are perfectly happy with spaces in filenames. It can be a PITA from the command line, but not from the GUI or programatically. Seems like an unnecessary restriction on web2py's part. > > > On 13 feb, 15:37, mdipierro <[email protected]> wrote: >> because args can be used to access filesystem and having spaces in >> there causes trouble. >> >> On Feb 13, 12:02 pm, DenesL <[email protected]> wrote: >> >>> Shouldn't URL create only URLs that are usable with web2py? >> >>> Example: >>> u=URL(r=request, args='CapĂtulo 1') >>> produces an URL ending with /Cap%A1tulo%201 >>> which generates an "Invalid request" when used. >> >>> And why are these characters not allowed in URLs? >> >>> Denes. -- 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.

