-
Notifications
You must be signed in to change notification settings - Fork 18
Tag value warnings #19
Comments
This error message does not make any sense to me. Is it because of multiple whitespaces in the description text? Or is there a special character in it? |
Ok, thanks for providing that. Even then I'm not sure if it wasn't job of the API to make sure clients don't send "malicious" data and refuse to serve these API calls. It's easy to implement a check for double whitespaces. But hey, i can see people with pitchforks and torches coming after me because there is a very good reason to support double whitespaces as tag values. What is the statement of the OSM API maintainers? |
Maybe a warning can do it. |
According to https://github.com/sozialhelden/rosemary Rosemary is API client, not editor. Creating a proper editor requires (among others) handling poor/invalid user input.
It did what user instructed it to do, right? It is not a job of API client to run validation rules like that - it should be implemented in editor itself. |
It looks like the Rosemary editor can create a tag that gives warnings in JOSM editor version 11441.
Changeset: 34767398
Node: 462911379
Version 8
created_by rosemary v0.4.4
wheelchair:description
There are 2 warnings:
Multiple white spaces
Character code less than 0x20
The text was updated successfully, but these errors were encountered: