Ticket #4790: use-https-login.patch
| File use-https-login.patch, 997 bytes (added by , 16 years ago) |
|---|
-
src/org/openstreetmap/josm/gui/oauth/OsmOAuthAuthorizationClient.java
248 248 public String buildOsmLoginUrl() throws OsmOAuthAuthorizationException{ 249 249 try { 250 250 URL autUrl = new URL(oauthProviderParameters.getAuthoriseUrl()); 251 // FIXME: as soon as the OSM website provides HTTPS protected access to the login 252 // page we can replace the protocol with https 253 // 254 URL url = new URL("http", autUrl.getHost(), autUrl.getPort(), "/login"); 251 URL url = new URL("https", autUrl.getHost(), autUrl.getPort(), "/login"); 255 252 return url.toString(); 256 253 } catch(MalformedURLException e) { 257 254 throw new OsmOAuthAuthorizationException(e);
