foundation-mvc-cms icon indicating copy to clipboard operation
foundation-mvc-cms copied to clipboard

Remove DNT header check

Open marisks opened this issue 3 years ago • 0 comments

According to MDN, the DNT header use is not recommended: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/DNT

But it is used in the SearchService: https://github.com/episerver/foundation-mvc-cms/blob/net5/src/Foundation/Features/Search/SearchService.cs#L62

And this check actually doesn't work so that tracking is never enabled.

marisks avatar Nov 02 '21 11:11 marisks