On Aug 10, 2010, at 7:37 PM, Bruno Rocha wrote:

> Thank you agains 4 the explanation,
> 
> now, this should be documented anywhere, as this is not on the book ( 
> http://web2py.com/book/default/search?search=extension ) also not in AlterEgo 
> ( http://www.web2py.com/AlterEgo/default/search?search=extension )

I've just added it to the end of the URL section of Chapter 4.

Massimo, would you please check that I've got it right?

> 
> 
> 
> 2010/8/10 Jonathan Lundell <[email protected]>
> On Aug 10, 2010, at 7:11 PM, Bruno Rocha wrote:
> 
>> "extension=False" is new to me, Thats not covered by the Book
>> 
>> I found and reported that before : 
>> http://groups.google.com/group/web2py/browse_thread/thread/99c2f5b8db562fba/8b82a682dff3fc58?lnk=gst&q=URL+changed#8b82a682dff3fc58
>> 
> 
> It's a side effect of the way URL fills in its values. A slight 
> oversimplification: if you don't specify an extension, you'll get the current 
> extension (.load in your case, more often .html). Specifying a value other 
> than None (which leads to the default behavior) that evaluates to False 
> causes the extension to be omitted.
> 
> 
> 
> -- 
> 
> http://rochacbruno.com.br


Reply via email to