* Roberto De Ioris <[email protected]> [2013-03-08 20:32]:
>
>> * Roberto De Ioris 
>> <[email protected]> [2013-03-08
>> 19:08]:
>>>
>>>> Hi,
>>>>
>>>> it seems that the cgi-index/php-index from the CGI and PHP
>>>> plugins do not work with HTTP POST, that is POST requests do not
>>>> seem to be handled at all while the corresponding GET works fine. Is
>>>> that a bug?
>>>> --
>>>> Guido Berhoerster
>>>>
>>>
>>> you mean that sending to the script directly works ?
>>
>> Yes:
>>
>>
>
> I think the problem is here:
>
> https://github.com/unbit/uwsgi/blob/master/core/protocol.c#L900
>
> honestly i have no problems in removing that check, it would simplify the
> system, and from a security point of view it changes nothing :)

Removing the check indeed fixes the problem. This breaks
quite a few CGI and PHP scripts which expect that POSTing to
itself works when served as an index document.
-- 
Guido Berhoerster
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to