Changeset 13253 in josm


Ignore:
Timestamp:
2017-12-28T15:22:03+01:00 (8 months ago)
Author:
stoecker
Message:

fix #15693 - patch by skorbut - fix double URL decoding

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/remotecontrol/AddTagsDialog.java

    r12641 r13253  
    3636import org.openstreetmap.josm.gui.util.TableHelper;
    3737import org.openstreetmap.josm.tools.GBC;
    38 import org.openstreetmap.josm.tools.Utils;
    3938
    4039/**
     
    272271     * parse addtags parameters Example URL (part):
    273272     * addtags=wikipedia:de%3DResidenzschloss Dresden|name:en%3DDresden Castle
    274      * @param args request arguments
     273     * @param args request arguments (URL encoding already removed)
    275274     * @param sender is a string for skipping confirmations. Use empty string for always confirmed adding.
    276275     * @param primitives OSM objects that will be modified
     
    280279            GuiHelper.executeByMainWorkerInEDT(() -> {
    281280                Set<String> tagSet = new HashSet<>();
    282                 for (String tag1 : Utils.decodeUrl(args.get("addtags")).split("\\|")) {
     281                for (String tag1 : args.get("addtags").split("\\|")) {
    283282                    if (!tag1.trim().isEmpty() && tag1.contains("=")) {
    284283                        tagSet.add(tag1.trim());
Note: See TracChangeset for help on using the changeset viewer.