[web2py] How web2py handles URLs

2011-01-01 Thread Arun K.Rajeevan
I don't see the resultant url encoding apostrophe. Also, space is getting replaced by underscore! How can I determine whether that's actually an underscore? I see this tutorial and I'm not wrong in saying that apostrophes must be encoded, right? http://www.permadi.com/tutorial/urlEncoding/ Or

[web2py] How web2py handles URLs

2011-01-01 Thread pbreit
Are you sung the URL() helper function? It should take care of all of the encoding. What does your code look like?

Re: [web2py] How web2py handles URLs

2011-01-01 Thread Jonathan Lundell
On Jan 1, 2011, at 7:05 AM, Arun K.Rajeevan wrote: I don't see the resultant url encoding apostrophe. Also, space is getting replaced by underscore! How can I determine whether that's actually an underscore? I see this tutorial and I'm not wrong in saying that apostrophes must be

Re: [web2py] How web2py handles URLs

2011-01-01 Thread Arun K.Rajeevan
Ok. In that case, what's the work around that you suggest? Well, I suggest framework to provide a mechanism to override parts of it (of course, at user's on risk) Here web2py does encoding and decoding, but for a situation like I'm in, it's nice to provide a mechanism to turn of

Re: [web2py] How web2py handles URLs

2011-01-01 Thread Arun K.Rajeevan
I did just this and seems working args = request.raw_args args = args.split('/') But now problem is with download function. It works by taking filename from request.args now, it should take value from request.raw_args My download function is following: def download():4 return

Re: [web2py] How web2py handles URLs

2011-01-01 Thread Arun K.Rajeevan
I'am opening another post because I've found a whole lot of new problems