[mv3] Merge modifyHeaders rules where feasible

This commit is contained in:
Raymond Hill 2023-07-10 13:13:20 -04:00
parent ff7c3d0ad6
commit 4a570c151f
No known key found for this signature in database
GPG key ID: 25E1490B761470C2

View file

@ -4618,6 +4618,7 @@ FilterContainer.prototype.dnrFromCompiled = function(op, context, ...args) {
mergeRules(rulesetMap, 'initiatorDomains');
mergeRules(rulesetMap, 'requestDomains');
mergeRules(rulesetMap, 'removeParams');
mergeRules(rulesetMap, 'responseHeaders');
// Patch case-sensitiveness
for ( const rule of rulesetMap.values() ) {