Thanks again.

I just found this article: 
http://stackoverflow.com/questions/7279198/allow-20-in-web2py-requests-args

But to be honest, it does not make any sense. Why is the percent sign
forbidden? Why is request.args set to None if raw args are enabled?
Why do we have to enable raw args anyway?  Afaik the percent sign is a
totally valid URL char.

Could this be fixed in the next update?



On Feb 1, 7:30 pm, Bruno Rocha <rochacbr...@gmail.com> wrote:
> if you map you should use request.raw_args
>
> may be including in models
>
> request.args = request.raw_args
>
> But I am not sure about this, Jonathan is the only one who knows how routes
> works  :)
>
>
>
>
>
>
>
>
>
> On Wed, Feb 1, 2012 at 4:25 PM, Dan <kor...@ironshark.de> wrote:
> > A request would look like:
>
> >http://domain.tld/page/show/sample%21/some/more/args
>
> > It just says "invalid request". Firebug gives me this:
>
> > Content-Length  573
> > Content-Type    text/html; charset=UTF-8
> > Date    Wed, 01 Feb 2012 18:24:57 GMT
> > Server  lighttpd/1.4.28
> > web2py_error    invalid path (args)
>
> > On Feb 1, 7:00 pm, Jonathan Lundell <jlund...@pobox.com> wrote:
> > > On Feb 1, 2012, at 9:52 AM, Dan wrote:
>
> > > > I'm using the lates Version of Web2py and getting a invalid request if
> > > > I'm using any special chars like %21 (!) or umlauts. Web2py is running
> > > > with the fcgihandler and Lighttpd. All special chars are encoded by
> > > > using urllib.quote().
>
> > > Post an example, please, and the full text of the invalid-request
> > message.
>
> --
>
> Bruno Rocha
> [http://rochacbruno.com.br]

Reply via email to