[web2py] Re: args problem in 1.76.5

2010-04-05 Thread DenesL
Thank you Jonathan and sorry that I have not been able to contribute more. Until we find a way to fix the missing part it is not really usable. At the risk of repeating myself, this is not only about blanks being converted to underscores which is not the only sanitizing of args done by web2py,

[web2py] Re: args problem in 1.76.5

2010-04-05 Thread annet
Massimo, The problem is that web2py did replace spaces with underscores, but in version 1.76.x it no longer does. The function described above worked, until I upgraded to version 1.76.5. That's why I have this line of code in my view: h3Nieuws {{=month.replace('_',' ')}}/h3 to have the month

Re: [web2py] Re: args problem in 1.76.5

2010-04-05 Thread Jonathan Lundell
On Apr 5, 2010, at 3:15 AM, DenesL wrote: Thank you Jonathan and sorry that I have not been able to contribute more. Until we find a way to fix the missing part it is not really usable. At the risk of repeating myself, this is not only about blanks being converted to underscores which is

[web2py] Re: args problem in 1.76.5

2010-04-04 Thread annet
In the view, when I replace: td {{=A(month.month,_href=URL(r=request,args=[month.number,month.month]))}} /td with: td {{=A(month.maand,_href=URL(r=request,args=[3,'maart_2010']))}} /td The function works. When I replace the underscore with a space: td

[web2py] Re: args problem in 1.76.5

2010-04-04 Thread annet
In the view, when I replace: td {{=A(month.month,_href=URL(r=request,args=[month.number,month.month]))}} /td with: td {{=A(month.month,_href=URL(r=request,args=[3,'maart_2010']))}} /td The function works. When I replace the underscore with a space: td

[web2py] Re: args problem in 1.76.5

2010-04-04 Thread mdipierro
The problem is that web2py does not like spaces '%20' in url and replaces them with underscore. On Apr 4, 7:20 am, annet annet.verm...@gmail.com wrote: After upgrading to web2py version 1.76.5 one of the functions I defined no longer works. I defined a table newsmonth:

[web2py] Re: args problem in 1.76.5

2010-04-04 Thread DenesL
It should be noted that there was some work done towards enabling an alternate setting that would allow the developer access to the unchanged (raw) args but it has not been finished yet. This would allow any character set in args which I believe mainly concerns non-English speaking

Re: [web2py] Re: args problem in 1.76.5

2010-04-04 Thread Jonathan Lundell
On Apr 4, 2010, at 4:37 PM, DenesL wrote: It should be noted that there was some work done towards enabling an alternate setting that would allow the developer access to the unchanged (raw) args but it has not been finished yet. This would allow any character set in args which I believe