Always use HTTPS to load Bing Streetside images (#10798)

This commit is contained in:
Kyℓe Hensel
2025-02-22 19:42:04 +11:00
committed by GitHub
parent fb22f01b30
commit fb1bce5a8a
2 changed files with 5 additions and 3 deletions
+2
View File
@@ -48,6 +48,7 @@ _Breaking developer changes, which may affect downstream projects or sites that
* Fix splitting of closed ways (or areas) when two or more split-points are selected
* Keep `red_turn:left/right` tags unchanged when reversing a way ([#10737], thanks [@burrscurr])
#### :camera: Street-Level
* Always use HTTPS to load Bing Streetside images ([#10798], thanks [@k-yle])
#### :white_check_mark: Validation
* Add warning if aeroways cross each other, buildings or highways ([#9315], thanks [@k-yle])
* Warn when a way with more than the maximum allowed number of nodes is to be uploaded and provide a way to fix it ([#7381])
@@ -96,6 +97,7 @@ _Breaking developer changes, which may affect downstream projects or sites that
[#10766]: https://github.com/openstreetmap/iD/pull/10766
[#10776]: https://github.com/openstreetmap/iD/issues/10776
[#10778]: https://github.com/openstreetmap/iD/issues/10778
[#10798]: https://github.com/openstreetmap/iD/pull/10798
[@hlfan]: https://github.com/hlfan
[@Deeptanshu-sankhwar]: https://github.com/Deeptanshu-sankhwar
[@draunger]: https://github.com/draunger
+3 -3
View File
@@ -122,9 +122,9 @@ function loadNextTilePage(which, url, tile) {
const d = {
loc: loc,
key: bubbleId,
imageUrl: bubble.imageUrl.replace('{subdomain}',
bubble.imageUrlSubdomains[0]
),
imageUrl: bubble.imageUrl
.replace('{subdomain}', bubble.imageUrlSubdomains[0])
.replace(/^http:/, 'https:'), // always use HTTPS (see #10797)
ca: bubble.he || bubble.heading,
captured_at: bubble.vintageEnd,
captured_by: 'microsoft',