Modify

Opened 8 years ago

Last modified 8 years ago

#13992 new defect

URL validator on source:url

Reported by: santiago-josm.openstreetmap.de-5195b@… 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 Klumbumbus, 8 years ago

Owner: changed from team to santiago-josm.openstreetmap.de-5195b@…
Status: newneedinfo

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.

comment:2 by santiago-josm.openstreetmap.de-5195b@…, 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:

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 Klumbumbus, 8 years ago

Keywords: validator removed
Owner: changed from santiago-josm.openstreetmap.de-5195b@… to team
Status: needinfonew

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.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from team to the specified user.
Next status will be 'needinfo'. The owner will be changed from team to santiago-josm.openstreetmap.de-5195b@….
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from team to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.