I think this is a bug in the cgi module but please do one test.

In gluon/mail.py there is

def parse_get_post_vars(request, environ):
    dget = cgi.parse_qsl(request.env.query_string,
keep_blank_values=1)

Add this line:

   print request.env.query_string
   print dget

This will nail down the problem to the cgi.parse_qsl funtion.


On Feb 25, 10:53 pm, Ben <[email protected]> wrote:
> OS: GNU/Linux (2.6.24-21-generic) [Debian lenny/sid]
> web2py: web2py Version 1.75.1 (2010-02-12 15:13:11)
> Python: Python 2.5.2
>
> On Feb 26, 3:47 pm, mdipierro <[email protected]> wrote:
>
> > oops. I misunderstood the question. Something is wrong. Which OS/web2
> > server/Python version?
>
> > On Feb 25, 10:06 pm, Ben <[email protected]> wrote:
>
> > > Hi all,
> > > I have a URL like the following:
> > > feature_reading?
> > > feature_id=15&sensor_id=51&sensor_id=52&sensor_id2&sensor_id=53&sensor_id=5
> > >  4
>
> > > however, when I try to extract the sensor_id vars at the other end, i
> > > get a list as such:
> > > ['51', '5', '2', '5', '3', '5', '4']
>
> > > anyone had this problem before?

-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.

Reply via email to