Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

SERVER_SOFTWARE header under Apache should be set with ap_get_server_…

…banner() instead of ap_get_server_description().
  • Loading branch information...
commit cf735f0627d1b3c42b53790848552dfbfd17aaf5 1 parent 57d11b2
Hongli Lai FooBarWidget authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  ext/apache2/Hooks.cpp
2  ext/apache2/Hooks.cpp
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.