From 3a85ee19e7963a078ffdaf177e9aabca419e324d 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*)(?=$)/;