Ignore:
Timestamp:
2014-03-05T18:37:26+01:00 (10 years ago)
Author:
stoecker
Message:

see #9778 - use TLS for JOSM website access

File:
1 edited

Legend:

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

    r6797 r6897  
    162162                    tr("You have encountered an error in JOSM. Before you file a bug report " +
    163163                            "make sure you have updated to the latest version of JOSM here:")), GBC.eol());
    164             p.add(new UrlLabel(Main.JOSM_WEBSITE,2), GBC.eop().insets(8,0,0,0));
     164            p.add(new UrlLabel(Main.getJOSMWebsite(),2), GBC.eop().insets(8,0,0,0));
    165165            p.add(new JMultilineLabel(
    166166                    tr("You should also update your plugins. If neither of those help please " +
     
    174174                    tr("Alternatively, if that does not work you can manually fill in the information " +
    175175                            "below at this URL:")), GBC.eol());
    176             p.add(new UrlLabel(Main.JOSM_WEBSITE+"/newticket",2), GBC.eop().insets(8,0,0,0));
     176            p.add(new UrlLabel(Main.getJOSMWebsite()+"/newticket",2), GBC.eop().insets(8,0,0,0));
    177177            if (Utils.copyToClipboard(text)) {
    178178                p.add(new JLabel(tr("(The text has already been copied to your clipboard.)")), GBC.eop());
     
    217217            Utils.close(gzip);
    218218
    219             return new URL(Main.JOSM_WEBSITE+"/josmticket?" +
     219            return new URL(Main.getJOSMWebsite()+"/josmticket?" +
    220220                    "gdata="+Base64.encode(ByteBuffer.wrap(out.toByteArray()), true));
    221221        } catch (IOException e) {
     
    234234        URL url = getBugReportUrl(debugText);
    235235        if (url != null) {
    236             return new UrlLabel(url.toString(), Main.JOSM_WEBSITE+"/josmticket?...", 2);
     236            return new UrlLabel(url.toString(), Main.getJOSMWebsite()+"/josmticket?...", 2);
    237237        }
    238238        return null;
Note: See TracChangeset for help on using the changeset viewer.