Changeset 9147 in josm for trunk/src


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

Use HTTPS for some wiki requests

Location:
trunk/src/org/openstreetmap/josm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/properties/PropertiesDialog.java

    r9086 r9147  
    11081108        public void actionPerformed(ActionEvent e) {
    11091109            try {
    1110                 String base = Main.pref.get("url.openstreetmap-wiki", "http://wiki.openstreetmap.org/wiki/");
     1110                String base = Main.pref.get("url.openstreetmap-wiki", "https://wiki.openstreetmap.org/wiki/");
    11111111                String lang = LanguageInfo.getWikiLanguagePrefix();
    11121112                final List<URI> uris = new ArrayList<>();
  • 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.