Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
remove WARNING from php-errors.data #1343
uhm.. this is really odd. I haven't change anything on the rule file. Can anyone help me to understand why it fails?
If I'm not wrong, the first failed test is 920240-4 and it seems to work correctly:
$ cat test920240-4.txt <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ds="http://www.w3.org/2000/09/xmldsig#"> <SOAP-ENV:Body> <xkms:StatusRequest xmlns:xkms="http://www.w3.org/2002/03/xkms#" Id="_6ee48478-fdd6-4d7d-b1bf-e7b4c3254659" ResponseId="_c1c36bf-f962-4aea-bfbd-07ed58468c9b" Service="http://www.soapclient.com/xml/xkms2"> <xkms:ResponseMechanism>http://www.w3.org/2002/03/xkms#Pending</xkms:ResponseMechanism> <xkms:RespondWith>%1Gwww.attack.org</xkms:RespondWith> </xkms:StatusRequest> </SOAP-ENV:Body> </SOAP-ENV:Envelope> $ curl -v -XPOST -d @./test920240-4.txt \ -H 'User-Agent: ModSecurity CRS 3 Tests' \ -H 'Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5' \ -H 'Accept-Language: en-us,en;q=0.5' \ -H 'Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7' \ -H 'Keep-Alive: 300' \ -H 'Proxy-Connection: keep-alive' \ -H 'Content-Type: text/xml' \ 'http://localhost'
Something similar happened to me before with Travis. I solved it with reapplying the changeset and force pushing it into the repository. (All with the support of @studersi). Here is what we did:
You might not need all of this.
When you push this, a new travis run will be initiated. That did the job for me.
ŮPDATE: I just checked: The tests failing are exactly the ones that failed in my PR as well. Apply the procedure above and you'll be fine.