From fda123808e83eac087b38885ab645ff70b2713ac Mon Sep 17 00:00:00 2001 From: Ansis Brammanis Date: Thu, 6 Feb 2020 11:55:52 -0500 Subject: [PATCH] Only normalize canonicalized mapbox tile URLs fix #9259 --- src/util/mapbox.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/mapbox.js b/src/util/mapbox.js index f4197a5d817..0552a1ba6ef 100644 --- a/src/util/mapbox.js +++ b/src/util/mapbox.js @@ -106,7 +106,7 @@ export class RequestManager { this._createSkuToken(); } - if (tileURL && !isMapboxURL(tileURL) && !isMapboxHTTPURL(tileURL)) return tileURL; + if (tileURL && !isMapboxURL(tileURL)) return tileURL; const urlObject = parseUrl(tileURL); const imageExtensionRe = /(\.(png|jpg)\d*)(?=$)/;