Ignore:
Timestamp:
2010-01-06T20:35:56+01:00 (16 years ago)
Author:
Gubaer
Message:

new: JOSM now supports OAuth

See also online help for server preferences and new OAuth Authorisation Wizard

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/ShowStatusReportAction.java

    r2500 r2748  
    9090
    9191                while ((line = input.readLine()) != null) {
    92                     // Skip potential private information
    93                     if (line.trim().toLowerCase().startsWith("osm-server.username")) {
     92                    String toCheck = line.trim().toLowerCase();
     93                    if (toCheck.startsWith("osm-server.username")
     94                            || toCheck.startsWith("osm-server.password")
     95                            || toCheck.startsWith("marker.show")
     96                            || toCheck.startsWith("oauth.access-token.key")
     97                            || toCheck.startsWith("oauth.access-token.secret")) {
    9498                        continue;
    9599                    }
    96                     if (line.trim().toLowerCase().startsWith("osm-server.password")) {
    97                         continue;
    98                     }
    99                     if (line.trim().toLowerCase().startsWith("marker.show")) {
    100                         continue;
    101                     }
    102 
    103100                    text.append(line);
    104101                    text.append("\n");
Note: See TracChangeset for help on using the changeset viewer.