diff --git a/providers/network/resources/http.go b/providers/network/resources/http.go index e6b2fb1831..e5248df945 100644 --- a/providers/network/resources/http.go +++ b/providers/network/resources/http.go @@ -319,12 +319,12 @@ func (x *mqlHttpHeaderXssProtection) id() (string, error) { func (x *mqlHttpHeader) xContentTypeOptions() (string, error) { params, ok := x.Params.Data["X-Content-Type-Options"] - return parseSingleHeaderValue(params, ok, &x.XFrameOptions) + return parseSingleHeaderValue(params, ok, &x.XContentTypeOptions) } func (x *mqlHttpHeader) referrerPolicy() (string, error) { params, ok := x.Params.Data["Referrer-Policy"] - return parseSingleHeaderValue(params, ok, &x.XFrameOptions) + return parseSingleHeaderValue(params, ok, &x.ReferrerPolicy) } func (x *mqlHttpHeader) contentType() (*mqlHttpHeaderContentType, error) {