Modify

Opened 8 years ago

Closed 8 years ago

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

Download all attachments as: .zip

Change History (5)

Changed 8 years ago by p.janaszek

Attachment: josm_core.patch added

Changed 8 years ago by p.janaszek

Attachment: josm_gui.patch added

comment:1 Changed 8 years ago by Don-vip

Milestone: 15.02

comment:2 Changed 8 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 8 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.