Fix regression in response header filtering

Related commit:
8b696a691a
This commit is contained in:
Raymond Hill 2025-04-10 07:32:09 -04:00
parent 981be2d5b2
commit d0e303ca19
No known key found for this signature in database
GPG key ID: 25E1490B761470C2

View file

@ -145,8 +145,8 @@ httpheaderFilteringEngine.apply = function(fctxt, headers) {
}
// Split filters in different groups
const filters = new Map();
const exceptions = new Map();
const filters = new Set();
const exceptions = new Set();
for ( const s of all ) {
const selector = s.slice(1);
if ( s.charCodeAt(0) === 0x2D /* - */ ) {