Skip to content

Commit

Permalink
Encode substituted URL parameters.
Browse files Browse the repository at this point in the history
  • Loading branch information
kring committed Jun 16, 2015
1 parent e05a986 commit 91e9583
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Scene/UrlTemplateImageryProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ define([
if (typeof part === 'string') {
url += part;
} else {
url += part(imageryProvider, x, y, level);
url += encodeURIComponent(part(imageryProvider, x, y, level));
}
}

Expand Down

0 comments on commit 91e9583

Please sign in to comment.