Opened 17 years ago

Closed 15 years ago

#3070 closed enhancement (fixed)

Check for http:// prefix when entering API URL in preferences — at Version 4

Reported by: avarab@… Owned by: team
Priority: minor Milestone:
Component: Core Version:
Keywords: Cc:

Description (last modified by simon04)

  1. Add an API url like "localhost:3000/api"
  2. Try to upload
  3. JOSM throws "Failed to initialize API. Please try again later."

It works with ​http://, so either JOSM should be smart and add ​http:// or tell you in preferences that it doesn't like things without a schema attached to them.

Change History (4)

comment:1 by stoecker, 17 years ago

Well, I doubt JOSM is able to 'grok' at all. It's a software and will never reach that level of understanding :-)

comment:2 by Gubaer, 17 years ago

Priority: major → minor
Type: defect → enhancement

I think this is a minor enhancement, not a major defect.

comment:3 by Gubaer, 17 years ago

Summary: JOSM doesn't grok API urls without a http:// prefix → Check for http:// prefix when entering API URL in preferences

comment:4 by simon04, 15 years ago

Description: modified (diff)
Resolution: → fixed
Status: new → closed

Has been implemented in the meanwhile.

Note: See TracTickets for help on using tickets.