On 1 Aug 2012, at 10:11 AM, AbrahamLinksys <[email protected]> wrote: > Hmm, I tried again with a simpler example in an app built from the welcome > app. > > I got the same error, but I noticed this: > > (a=None, c=None, f=None, r=<Storage {'body': <cStringIO.StringO object at > 0..._vars': <Storage {}>, 'post_vars': <Storage {}>}>, args=[], vars={'a': > 2}, anchor='', extension=None, env=<Storage {'debugging': False, > 'http_user_agent':...[]), 'query_string': '', 'wsgi_run_once': False}>, > hmac_key=None, hash_vars=True, salt=None, user_signature=None, scheme=None, > host=None, port=None, encode_embedded_slash=False, url_encode=False) > > As you can see, url_encode is set to false... I double checked the version, > and it is 1.99.7 (i printed out request.env.web2py_version from the app just > to be sure, as I have several web2py versions on the test server, so I > possibly have done something silly somewhere). > > However, when I launch an app with python web2py.py -M -S <app>, I do not in > fact get the error, leading me to believe I AM doing something silly. > > Any idea where I can look to see how the url_encode might be getting set to > false? >
Try a search of your entire source tree for 'url_encode'. In my fresh download of 1.99.7 (and for that matter in the trunk) the only references are in gluon/html.py and a couple of related html pages in the examples app. --

