Permalink
Browse files

SERVER_SOFTWARE header under Apache should be set with ap_get_server_…

…banner() instead of ap_get_server_description().
  • Loading branch information...
1 parent 57d11b2 commit cf735f0627d1b3c42b53790848552dfbfd17aaf5 @FooBarWidget FooBarWidget committed Apr 12, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 ext/apache2/Hooks.cpp
View
2 ext/apache2/Hooks.cpp
@@ -990,7 +990,7 @@ class Hooks {
// Set standard CGI variables.
#ifdef AP_GET_SERVER_VERSION_DEPRECATED
- addHeader(headers, "SERVER_SOFTWARE", ap_get_server_description());
+ addHeader(headers, "SERVER_SOFTWARE", ap_get_server_banner());
#else
addHeader(headers, "SERVER_SOFTWARE", ap_get_server_version());
#endif

0 comments on commit cf735f0

Please sign in to comment.