diff --git a/core/request-sanitizer.js b/core/request-sanitizer.js
index 5ec2b666..2741f847 100644
--- a/core/request-sanitizer.js
+++ b/core/request-sanitizer.js
@@ -53,10 +53,14 @@ requestSanitizer._stripMetadata = function (requestDetails) {
allowlistedDomains = stateManager._domainIsListed(initiatorDomain);
if (allowlistedDomains) {
- for (let i = 0; i < requestDetails.requestHeaders.length; ++i) {
- if (sensitiveHeaders.indexOf(requestDetails.requestHeaders[i].name) > -1) {
- requestDetails.requestHeaders.splice(i--, 1);
- }
+ return {
+ [WebRequest.HEADERS]: requestDetails.requestHeaders,
+ };
+ }
+
+ for (let i = 0; i < requestDetails.requestHeaders.length; ++i) {
+ if (sensitiveHeaders.indexOf(requestDetails.requestHeaders[i].name) > -1) {
+ requestDetails.requestHeaders.splice(i--, 1);
}
}
diff --git a/pages/updates/updates.html b/pages/updates/updates.html
index 7f1edb3d..3a37956b 100644
--- a/pages/updates/updates.html
+++ b/pages/updates/updates.html
@@ -25,7 +25,22 @@
New in LocalCDN:
-
+ - Fixed: Exported settings have old values (#177)
+ - Updated: algoliasearch v4.7.0 -> v4.8.0 (db3d0447bf, 4fe79b6362)
+ - Updated: Ember.js v3.12.3 -> v3.23.0 (c0272e9e05)
+ - Updated: instantsearch.js v4.8.6 -> v4.8.7 (b2d25fef63)
+ - Updated: Socket.io v3.0.1 -> v3.0.3 (3df3b5f3a9, 15b5c0d9db)
+ - Added: jQuery v1.11.3 (#178)
+ - Updated: vue-i18n v8.22.1 -> v8.22.2 (a392f6b724)
+ - Updated: highlight.js v10.3.2 -> v10.4.0 (5a10b0258f)
+ - Updated: Bootstrap v3.3.7 -> v3.4.1 (f6efcc0ff8)
+ - Added: Bootstrap (fonts only) (495efcb23f)
+ - Improved: Only remove metadata if origin is not on allowed list (#179)
+ - Added: Swiper v6.3.5 (c51c72da99)
+ - Added: Swiper to cdn.jsdelivr.net (039d4767f5)
+ - Updated: jQuery Validation v1.19.1 -> v1.19.2 (9aac5a1ab8)
+ - Added: jQuery Validation to cdn.jsdelivr.net (c3e9ad9fb5)
+ - Hotfix: Only remove metadata if origin is not on allowed list (#179)
@@ -59,21 +74,7 @@
2020-11-22 (v2.5.8)
- - Fixed: Exported settings have old values (#177)
- - Updated: algoliasearch v4.7.0 -> v4.8.0 (db3d0447bf, 4fe79b6362)
- - Updated: Ember.js v3.12.3 -> v3.23.0 (c0272e9e05)
- - Updated: instantsearch.js v4.8.6 -> v4.8.7 (b2d25fef63)
- - Updated: Socket.io v3.0.1 -> v3.0.3 (3df3b5f3a9, 15b5c0d9db)
- - Added: jQuery v1.11.3 (#178)
- - Updated: vue-i18n v8.22.1 -> v8.22.2 (a392f6b724)
- - Updated: highlight.js v10.3.2 -> v10.4.0 (5a10b0258f)
- - Updated: Bootstrap v3.3.7 -> v3.4.1 (f6efcc0ff8)
- - Added: Bootstrap (fonts only) (495efcb23f)
- - Improved: Only remove metadata if origin is not on allowed list (#179)
- - Added: Swiper v6.3.5 (c51c72da99)
- - Added: Swiper to cdn.jsdelivr.net (039d4767f5)
- - Updated: jQuery Validation v1.19.1 -> v1.19.2 (9aac5a1ab8)
- - Added: jQuery Validation to cdn.jsdelivr.net (c3e9ad9fb5)
+ - Version revoked
2020-11-15 (v2.5.7)