Hi there! I'm just reporting this situation in case it's a bug, I'm not sure.
I have a public webpage (no login required), and from time to time I see this error: ValueError: Invalid boundary in multipart form: '' The error is produced by a bot that sends a bad POST to an URL that doesn't even expect a POST (it's just a public URL that shows a list of news, and it is cached). But as my application access request.vars, when the bot sends that POST, I see this error traceback: Traceback (most recent call last): File "/var/www/medios/gluon/restricted.py", line 219, in restricted exec(ccode, environment) File "applications/informatesalta/compiled/controllers.default.index.py", line 4, in <module> File "applications/informatesalta/modules/globales.py", line 2108, in get_publicidades_response layout = request.vars.layout or '' File "/var/www/medios/gluon/globals.py", line 314, in vars self.parse_all_vars() File "/var/www/medios/gluon/globals.py", line 285, in parse_all_vars for key, value in iteritems(self.post_vars): File "/var/www/medios/gluon/globals.py", line 306, in post_vars self.parse_post_vars() File "/var/www/medios/gluon/globals.py", line 242, in parse_post_vars dpost = cgi.FieldStorage(fp=body, environ=env, keep_blank_values=1) File "/usr/lib64/python2.7/cgi.py", line 507, in __init__ self.read_multi(environ, keep_blank_values, strict_parsing) File "/usr/lib64/python2.7/cgi.py", line 621, in read_multi raise ValueError, 'Invalid boundary in multipart form: %r' % (ib,) ValueError: Invalid boundary in multipart form: '' Notice the error is triggered in gluon/globals.py, specifically in "parse_all_vars" function. What can I do in order to avoid the ticket error? Thanks in advance! -- 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.