Bug Report / Patch (1159139 cgi.py invalid REQUEST_METHOD set)

Reinhold Birkenfeld reinhold-birkenfeld-nospam at wolke7.net
Tue Jul 26 11:57:11 EDT 2005


Joe wrote:
> Back in March I submitted a patch for cgi.py to sourceforge to fix a problem 
> with the handling of an invalid REQUEST_METHOD.
> 
> I thought I followed all the steps to properly submit the bug and patch but 
> the patch is still sitting there in limbo.
> 
> This is the first patch I have submitted for Python, did I miss a step in 
> the patch process?
> 
> What else needs to be done?

Can you provide an example script demonstrating the problem you describe?

I tried something like this (Py2.4.1):

------- test_cgi.py
#!/bin/env python
import cgi
fs = cgi.FieldStorage()
print fs

$ python test_cgi.py "a=1&b=2"
FieldStorage(None, None, [MiniFieldStorage('a', '1'), MiniFieldStorage('b', '2')])
$

There's no REQUEST_METHOD or QUERY_STRING env var set.

Reinhold



More information about the Python-list mailing list