ABResponseFilter does not respect page encoding when injecting a script

Found in

EPiServer.Marketing.Testing 2.5.10

Fixed in

EPiServer.Marketing.Testing 2.5.11

Created

Oct 30, 2019

Updated

Nov 22, 2019

State

Closed, Fixed and tested


Description

Currently, the ABResponseFilter injects KPI scripts, assuming the page is UTF 8 only. But this is not always the case, so the class should use the encoding type container in the response.