From 3942c0a14fb1e19bf56d20f7cb0b67060c5eafe3 Mon Sep 17 00:00:00 2001 From: Ansis Brammanis Date: Tue, 11 Feb 2020 16:23:17 -0500 Subject: [PATCH] Only normalize canonicalized mapbox tile URLs (#9268) 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*)(?=$)/;