Changeset 15490 in josm


Ignore:
Timestamp:
2019-11-01T13:14:22+01:00 (5 years ago)
Author:
Don-vip
Message:

fix #18282 - fix double encoding when calling MediaWiki API

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/properties/HelpAction.java

    r14647 r15490  
    7777        if (tagTable.getSelectedRowCount() == 1) {
    7878            int row = tagTable.getSelectedRow();
    79             String key = Utils.encodeUrl(tagKeySupplier.apply(row));
     79            String key = tagKeySupplier.apply(row);
    8080            Map<String, Integer> m = tagValuesSupplier.apply(row);
    8181            if (!m.isEmpty()) {
    82                 String val = Utils.encodeUrl(m.entrySet().iterator().next().getKey());
     82                String val = m.entrySet().iterator().next().getKey();
    8383                MainApplication.worker.execute(() -> displayTagHelp(key, val));
    8484            }
Note: See TracChangeset for help on using the changeset viewer.