puppetlabs-apache
puppetlabs-apache copied to clipboard
apache::mod::security::content_types format change (could possibly be bug as well)
https://forge.puppet.com/modules/puppetlabs/apache/reference#content_types
The format of the values of this parameter has been changed. Please see the link below and relevant snippet. Note that this could be classified as a bug since adding values in the old format does not completely work.
https://coreruleset.org/20200701/owasp-modsecurity-core-rule-set-v3-3-0-available/ ''' The format of configuration setting allowed_request_content_type has been changed to be more in line with other variables. If you had manually changed this setting, then you need to update it. Please see the example rule 900220 in the file crs-setup.conf.example. If you didn’t change this setting, you don’t need to do anything. '''
From the example file, the default values with the new format are
|application/x-www-form-urlencoded| |multipart/form-data| |multipart/related| |text/xml| |application/xml| |application/soap+xml| |application/x-amf| |application/json| |application/cloudevents+json| |application/cloudevents-batch+json| |application/octet-stream| |application/csp-report| |application/xss-auditor-report| |text/plain|