Skip to content

Commit 3edc98e

Browse files
Add Name Server
1 parent a08445f commit 3edc98e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

ProcessMaker/Http/Middleware/HideServerHeaders.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,6 @@ class HideServerHeaders
4141
'X-Cache-Status',
4242
'X-Served-From',
4343
'X-Content-Source',
44-
'X-Request-ID',
45-
'X-Request-Id',
4644

4745
// PHP specific headers
4846
'X-PHP-Version',
@@ -71,7 +69,7 @@ public function handle(Request $request, Closure $next): Response
7169
}
7270

7371
// Set a generic server header to avoid revealing the absence
74-
$response->headers->set('Server', 'Web Server');
72+
$response->headers->set('Server', 'ProcessMaker Server');
7573
}
7674

7775
return $response;

0 commit comments

Comments
 (0)