summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/bmcweb_config.h.in3
-rw-r--r--config/meson.build2
2 files changed, 0 insertions, 5 deletions
diff --git a/config/bmcweb_config.h.in b/config/bmcweb_config.h.in
index d3b174c470..a8ae29ef91 100644
--- a/config/bmcweb_config.h.in
+++ b/config/bmcweb_config.h.in
@@ -4,9 +4,6 @@
#include <cstddef>
// clang-format off
-constexpr const int bmcwebInsecureDisableXssPrevention =
- @BMCWEB_INSECURE_DISABLE_XSS_PREVENTION@;
-
constexpr const bool bmcwebInsecureEnableQueryParams = @BMCWEB_INSECURE_ENABLE_QUERY_PARAMS@ == 1;
constexpr const size_t bmcwebHttpReqBodyLimitMb = @BMCWEB_HTTP_REQ_BODY_LIMIT_MB@;
diff --git a/config/meson.build b/config/meson.build
index 1c6f78a999..26c9bd4b3a 100644
--- a/config/meson.build
+++ b/config/meson.build
@@ -2,8 +2,6 @@
conf_data = configuration_data()
conf_data.set('BMCWEB_HTTP_REQ_BODY_LIMIT_MB', get_option('http-body-limit'))
-xss_enabled = get_option('insecure-disable-xss')
-conf_data.set10('BMCWEB_INSECURE_DISABLE_XSS_PREVENTION', xss_enabled.allowed())
enable_redfish_query = get_option('insecure-enable-redfish-query')
conf_data.set10('BMCWEB_INSECURE_ENABLE_QUERY_PARAMS', enable_redfish_query.allowed())
# enable_redfish_aggregation = get_option('redfish-aggregation')