stable

Clone or download

Read-only

Closes request #31954: HTTP responses with a status code different than 407 should not be marked as SSRF filtered

The filtering proxy might reject requests and set the `X-Smokescreen-Error` but only the ones with 407 status code should be considered as a possible SSRf attempt. The rest is more likely to an attempt to reach broken services. Change-Id: Ibd3be87c01a02495c9c22e59fb76faa7a1086a46

Modified Files

Name
M src/common/Http/Client/FilteredOutboundRequestJustification.php +3 −0 Go to diff View file
M tests/unit/common/Http/Client/FilteredOutboundRequestJustificationTest.php +10 −1 Go to diff View file