Modify

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#11061 closed defect (fixed)

[patch] Remote API imagery cookies parameter is not handled properly

Reported by: p.janaszek Owned by: team
Priority: normal Milestone: 15.02
Component: Core Version: latest
Keywords: cookies, imagery Cc:

Description

When one uses JOSM remote API function:
/imagery — adds an imagery layer (e.g. WMS, TMS)
mandatory parameters: url
optional parameters: title, type, cookies, min_zoom, max_zoom

JOSM does not respect cookie parameter, thus no cookies are sent with the imagery request.
This patch replaces null for cookie parameter in a few places, fixing the issue.

Attachments (2)

josm_core.patch (1.7 KB ) - added by p.janaszek 10 years ago.
josm_gui.patch (1.2 KB ) - added by p.janaszek 10 years ago.

Download all attachments as: .zip

Change History (5)

by p.janaszek, 10 years ago

Attachment: josm_core.patch added

by p.janaszek, 10 years ago

Attachment: josm_gui.patch added

comment:1 by Don-vip, 10 years ago

Milestone: 15.02

comment:2 by Don-vip, 10 years ago

Resolution: fixed
Status: newclosed

In 7999/josm:

fix #11061 - Remote API imagery cookies parameter is not handled properly (patch by p.janaszek)

comment:3 by Don-vip, 10 years ago

Thanks for the patch! :)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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