Opened 8 years ago
Last modified 8 years ago
#13992 new defect
URL validator on source:url
Reported by: | Owned by: | team | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core validator | Version: | |
Keywords: | source:url | Cc: |
Description
Hi,
source:url may contain any text, not just URLs. If the value is not an URL, it triggers URL validator and gives the warning: "URL contains an invalid authority".
Thank you,
Santiago
Attachments (0)
Change History (3)
comment:1 by , 8 years ago
Owner: | changed from | to
---|---|
Status: | new → needinfo |
comment:2 by , 8 years ago
Example: there is an amenity=place_of_worship already on OSM with several tags. I have the phone and url provided by "Ayuntamiento de Madrid", so I add the tags:
- phone=+34 913739400
- url=http://www.madrid.es/vgn-ext-templating/v/index.jsp?vgnextchannel=9e4c43db40317010VgnVCM100000dc0ca8c0RCRD&vgnextoid=a16eb069a541f010VgnVCM1000000b205a0aRCRD
- source:phone=Ayuntamiento de Madrid
- source:url=Ayuntamiento de Madrid
Sometimes it is not possible to just use the source tag alone on the objects or changeset because there are different sources for each tag.
See: https://wiki.openstreetmap.org/wiki/Key:source#How_to_use_.28historic.29
comment:3 by , 8 years ago
Keywords: | validator removed |
---|---|
Owner: | changed from | to
Status: | needinfo → new |
Here we have two different usages of the source:url tag.
- give an URL where you got the added infos from
- give the source where you got the URL from
You use the second one (which is in line with source:name, source:addr,...) However this tag is used much more with the first method as my taginfo link shows.
So it should be clarified outside this JOSM bug tracker what this tag describes.
Not sure what to do with the JOSM validator for now.
Why would you put something else in source:url than an URL? If it is not an URL then source would be the appropriate key. See also usage for source:url on taginfo.