On Aug 25, 2009, at 1:45 AM, mdipierro wrote: > > There are two issues here: > > 1) cgi.FieldStorage behaves differently between 2.5 and 2.6. There is > NO WAY around this problem. For example if the request.get_vars > contain {'x', 'y'} and the request.post_vars contain {'x': ['y','z']} > does it mean that x=y is in the body of the POST or that python is > incorrectly picking it from the GET vars? No way of knowing without > checking the Python version and I do not know for sure which version > have this bug and which don't. The fact is, one should not mix get and > post vars! > > 2) appadmin works for me. I cannot reproduce ctalley's problem. My > guess is that appadmin was modified to cope with this issue (i vaguely > remember so) and he is using an older appadmin. I suggest he copies > appadmin.py and appadmin.html from a recent web2py welcome app and see > if the problem persists.
Thanks for the clarification. I agree that avoiding mixing get/post vars is a reasonable workaround (who does that, anyway?), and if appadmin is fixed, good. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---