mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-24 00:54:03 +02:00
Sanitize Amazon CloudFront signature in imagery_used (#10007)
This commit is contained in:
committed by
GitHub
parent
1e1c07c733
commit
4bf79e9f1a
@@ -583,7 +583,7 @@ rendererBackgroundSource.Custom = function(template) {
|
||||
var parts = cleaned.split('?', 2);
|
||||
var qs = utilStringQs(parts[1]);
|
||||
|
||||
['access_token', 'connectId', 'token'].forEach(function(param) {
|
||||
['access_token', 'connectId', 'token', 'Signature'].forEach(function(param) {
|
||||
if (qs[param]) {
|
||||
qs[param] = '{apikey}';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user