Ignore:
Timestamp:
2015-12-25T14:16:49+01:00 (6 years ago)
Author:
simon04
Message:

Use HTTPS for some wiki requests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/ImageProvider.java

    r9070 r9147  
    888888    private static ImageResource getIfAvailableWiki(String name, ImageType type) {
    889889        final Collection<String> defaultBaseUrls = Arrays.asList(
    890                 "http://wiki.openstreetmap.org/w/images/",
    891                 "http://upload.wikimedia.org/wikipedia/commons/",
    892                 "http://wiki.openstreetmap.org/wiki/File:"
     890                "https://wiki.openstreetmap.org/w/images/",
     891                "https://upload.wikimedia.org/wikipedia/commons/",
     892                "https://wiki.openstreetmap.org/wiki/File:"
    893893                );
    894894        final Collection<String> baseUrls = Main.pref.getCollection("image-provider.wiki.urls", defaultBaseUrls);
Note: See TracChangeset for help on using the changeset viewer.