[josm-dev] Add nodes and ways via remoteControl

Stephan Knauss osm at stephans-server.de
Fri Aug 20 00:59:14 BST 2010


Bodo Meissner wrote:
> In the source code you can find this syntax for the HTTP request to add 
> a node:
> GET /add_node?lon=...&lat=...

I know... But is there a reason it's not documented? Maybe in some cases 
this function could harm and damage data?

Or some malicious websites adding random nodes?

post this to IRC or a popular website and make fun of people having 
RemoteControl running
<img src="http://localhost:8111/add_node?lon=42.1&lat=42.2">

For added fun use random coordinates.

The command is not only undocumented, but also the option to disable the 
command is not available in the config dialog. And default is enable...

The more I think about it the stronger gets my urge to change this 
behavior...

That's what I did now... 22702

Stephan



More information about the josm-dev mailing list