It's probably doing a split without a strip, so args[1] is ''. I need to check 
that the new and old URL parsers treat this the same way. Maybe it's a feature; 
how else would you get an empty string?

On Jan 23, 2011, at 10:24 AM, Kenneth Lundström <[email protected]> 
wrote:

> Has it allways been like this or?
> 
> http://...../application/controller/function/args1   len(request.args) = 1
> http://...../application/controller/function/args1/args2   len(request.args) 
> = 2
> 
> but
> http://...../application/controller/function/args1/   len(request.args) = 2
> 
> I would have guessed that the last case would have returned length as 1
> 
> 
> Kenneth
> 

Reply via email to