Issues

ZF-3017: Missing header trigger mod_security

Description

With default mod_security 2.5 Core Rules this happens: modsecurity_crs_21_protocol_anomalies.conf"] [line "41"] [id "960015"]

The problem is a missing Accept header. I solved the problem by adding 'Accept: text/xml' to Zend/XmlRpc/Client.php on line 226.


        $http->setHeaders(array(
            'Content-Type: text/xml; charset=utf-8',
            'User-Agent: Zend_XmlRpc_Client',
            'Accept: text/xml'
        ));

Comments

Scheduling for next mini release

Header added in trunk and 1.5 and 1.6 release branches.