On Aug 14, 5:55 am, Jurgis Pralgauskis <jurgis.pralgaus...@gmail.com> wrote: > On Aug 5, 3:41 pm, mdipierro <mdipie...@cs.depaul.edu> wrote: > > > the problem is not the escaping (which is correct, + must be escaped) > > the problem is thta web2py urls do not allow non-alphanumeric chars. > > but for arguments there seems to be no need for such restriction, or > is there?
It is our policy that arguments should be alphanumeric. This is because they can be used to id records or access the file system and we do not worry you to have to worry about validating then. This does not mean you cannot have "c++" in a URL. It just means you must use routes to map an arg into a var.: routes_in =[('/app/c/f/$anything','/app/c/f/data=$anything')] > > maybe exception could be mate for "%" symbol in arguments part of url. > > by the way, maybe 'Invalid request' could provide more information > why it is invalid. > > thanks, for now I workaround passing just ID (but it is less verbose)