Changeset 9301 in josm
- Timestamp:
- 2016-01-04T14:41:37+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/oauth/OsmOAuthAuthorizationClient.java
r9232 r9301 273 273 try { 274 274 URL autUrl = new URL(oauthProviderParameters.getAuthoriseUrl()); 275 URL url = new URL( "http", autUrl.getHost(), autUrl.getPort(), "/logout");275 URL url = new URL(Main.pref.get("oauth.protocol", "https"), autUrl.getHost(), autUrl.getPort(), "/logout"); 276 276 return url.toString(); 277 277 } catch (MalformedURLException e) { … … 383 383 URL url = new URL(buildOsmLogoutUrl()); 384 384 synchronized (this) { 385 connection = HttpClient.create(url). connect();385 connection = HttpClient.create(url).setMaxRedirects(-1).connect(); 386 386 } 387 387 } catch (IOException e) {
Note:
See TracChangeset
for help on using the changeset viewer.