it is supposed to be request.env.query_string
or request.env.get('query_string'). It is supposed to be lower case and not
upper case. If nginx has it upper case than there is a bug.
In retrospect it was a mistake to convert all the env vars to lower case
and replace the dashed with underscore but that is what web2py does anyway.
On Friday, 27 February 2015 01:37:33 UTC-6, Niphlod wrote:
>
> +1 for switching to nginx. actually, what I meant to write is
> request.env.get('QUERY_STRING')
>
> On Friday, February 27, 2015 at 5:53:57 AM UTC+1, Mike wrote:
>>
>>
>>
>> On Wednesday, February 25, 2015 at 12:18:29 PM UTC-8, Niphlod wrote:
>>>
>>> reaally strange, although I don't use lighttpd since nginx came out.
>>> request.vars are parsed out of request.QUERY_STRING. could you please
>>> doublecheck what request.get('QUERY_STRING') dumps ?
>>>
>>>
>>>
>>
>> request.get('QUERY_STRING') is *None *
>>
>> I can't figure out the source of this issue, so I have switched to nginx,
>> and all is OK!
>>
>> Thanks for looking at this.
>>
>>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.