Ignore:
Timestamp:
2013-04-17T20:14:32+02:00 (11 years ago)
Author:
akks
Message:

Remote control: allow adding tags without confirmation for current session (add_tags), see #8612
added parsing of request headers and detecting request sender by IP and "referer" HTTP header

File:
1 edited

Legend:

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

    r5691 r5876  
    4343    /** will be filled with the command assigned to the subclass */
    4444    protected String myCommand;
     45   
     46    /**
     47     * who send th request?
     48     * the host from refrerer header or IP of request sender
     49     */
     50    protected String sender;
    4551
    4652    /**
     
    242248    }
    243249
     250    public void setSender(String sender) {
     251        this.sender = sender;
     252    }
     253 
    244254    public static class RequestHandlerException extends Exception {
    245255
Note: See TracChangeset for help on using the changeset viewer.