Modify

Opened 5 years ago

Closed 5 years ago

Last modified 5 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 5 years ago.
josm_gui.patch (1.2 KB) - added by p.janaszek 5 years ago.

Download all attachments as: .zip

Change History (5)

Changed 5 years ago by p.janaszek

Attachment: josm_core.patch added

Changed 5 years ago by p.janaszek

Attachment: josm_gui.patch added

comment:1 Changed 5 years ago by Don-vip

Milestone: 15.02

comment:2 Changed 5 years ago by Don-vip

Resolution: fixed
Status: newclosed

In 7999/josm:

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

comment:3 Changed 5 years ago by Don-vip

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.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.