Changeset 10796 in josm


Ignore:
Timestamp:
2016-08-13T18:17:16+02:00 (3 years ago)
Author:
Don-vip
Message:

see #13339 - do not replace short user names blindly in status report

File:
1 edited

Legend:

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

    r10734 r10796  
    221221        val = paramReplace(val, userCacheDir, userCacheDirAlt);
    222222        val = paramReplace(val, userHomeDir, userHomeDirAlt);
    223         val = paramReplace(val, userName, userNameAlt);
     223        if (userName.length() >= 3) {
     224            val = paramReplace(val, userName, userNameAlt);
     225        }
    224226        return val;
    225227    }
Note: See TracChangeset for help on using the changeset viewer.