Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion manifests/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ manifest:
tests/appsec/test_service_activation_metric.py::TestServiceActivationRemoteConfigurationConfigMetric: missing_feature
tests/appsec/test_shell_execution.py::Test_ShellExecution: v0.95.0
tests/appsec/test_shell_execution.py::Test_ShellExecution::test_truncate_1st_argument: bug (APPSEC-55673)
tests/appsec/test_span_tags_headers.py: bug (APPSEC-61286)
tests/appsec/test_span_tags_headers.py: v1.17.0-dev
tests/appsec/test_suspicious_attacker_blocking.py::Test_Suspicious_Attacker_Blocking: v1.13.0+4663b2fa7c20c6920f347d059b57dc2a419cb7f7
tests/appsec/test_trace_tagging.py::Test_TraceTaggingRules: v1.12.0
tests/appsec/test_trace_tagging.py::Test_TraceTaggingRulesRcCapability: v1.12.0
Expand Down
3 changes: 1 addition & 2 deletions utils/build/docker/php/common/headers.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php
header("Content-Language: en-US");
header("Content-Length: 16");
header("Content-Length: 15");

echo "Hello, headers!";
?>
4 changes: 4 additions & 0 deletions utils/build/docker/php/php-fpm/php-fpm.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
SetEnvIfNoCase ^Authorization$ "(.+)" HTTP_AUTHORIZATION=$1
</IfModule>
<VirtualHost *:7777>
# Trust Content-Length header from PHP-FPM instead of converting to chunked encoding
# See: https://github.com/apache/httpd/blob/trunk/modules/proxy/mod_proxy_fcgi.c
# mod_proxy_fcgi strips Content-Length by default; this preserves it
SetEnv ap_trust_cgilike_cl 1
RewriteEngine on
ProxyErrorOverride on 404
# Disable ProxyErrorOverride for endpoint_fallback.php to avoid duplicate traces
Expand Down
Loading