I am setting a query string in routes_in but the request.vars is not 
getting set. To replicate:
                                                                                
   

In routes.py
    routes_in = (
        (BASE + '/$anything', '/welcome/default/index?aaa=111&bbb=222'),
        ... 
        )
                                                                                
      

Then in 
applications/welcome/views/default/index.html                                   
       

                                                                               

    <div>
        vars: {{=request.vars}}<br>
        env: {{=request.env.query_string}}
    </div>
                                                                                
      

When I visit the welcome app, request.vars displays empty but 
request.env.query_string is set to 
'aaa=111&bbb=222'
Is this expected or a bug?

Tested with: Version 2.9.11-stable+timestamp.2014.09.15.23.35.11

Thanks,
Jim

-- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to