mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 05:45:59 +03:00
Trims long `apache version' in the status call
As reported at #714 status calls with long `apache version' name was broken. DNS queries cannot be so long. This field is now limited to 25 characters which is a valid size when encoded into base32
This commit is contained in:
parent
cee205b109
commit
8305600d50
@ -376,7 +376,7 @@ int DSOLOCAL msc_beacon_string (char *beacon_string, int beacon_string_max_len)
|
||||
}
|
||||
|
||||
apr_snprintf(beacon_string, beacon_string_max_len,
|
||||
"%.25s,%s,%s/%s,%s/%s,%s,%s,%s",
|
||||
"%.25s,%.25s,%s/%s,%s/%s,%s,%s,%s",
|
||||
modsec, apache, apr, apr_loaded, pcre, pcre_loaded, lua, libxml, id);
|
||||
|
||||
return_length:
|
||||
|
Loading…
x
Reference in New Issue
Block a user