Re: [web2py] URL parsing problems (request.args)

2012-02-03 Thread Jonathan Lundell
On Feb 3, 2012, at 6:55 AM, VP wrote:

> We have got inconsistent behaviors of web2py on 2 different servers
> (same latest version 1.99.4).
> 
> Give this URL, app/controller/function/13/1///
> 
> On my personal computer, request.args is [13,1,'',''].   This is what
> I expected.
> 
> On my server, request.args is [13,1].
> 
> This messes up my controller logic.   What causes this?

Is it possible that you're invoking different routers on the two systems? Or 
enabling routes on one and not the other?

[web2py] URL parsing problems (request.args)

2012-02-03 Thread VP
We have got inconsistent behaviors of web2py on 2 different servers
(same latest version 1.99.4).

Give this URL, app/controller/function/13/1///

On my personal computer, request.args is [13,1,'',''].   This is what
I expected.

On my server, request.args is [13,1].

This messes up my controller logic.   What causes this?

Thanks
VP