Modify

Opened 16 years ago

Closed 16 years ago

#2719 closed enhancement (fixed)

[patch] Add support to send cookies for WMS images

Reported by: xeen Owned by: team
Priority: minor Milestone:
Component: Core imagery Version:
Keywords: Cc:

Description

Adds the possibility for WMSPlugin to send cookies with each Image request. The feature isn't advertized anywhere except in the code and works by adding wmsplugin.url.NUMBER.cookies=XXXX in the Einstein dialog. The patch doesn't allow to define cookies for the default sources.

The patch also cleans up some other things, i.e. removes the "handing down" of variables through several layers when they're available via the WMSLayer anyway.

Some WMS servers require settings to be sent via cookie and won't accept get parametres. This patch "works around" this limitation by allowing JOSM to send the required cookies and thus make these WMS servers useable for JOSM. (I have a specific one in mind, in case you wonder. I posted the patch because it's quite large and re-applying it everytime the WMSPlugin updates will be quite a lot of work.)

Warning: Includes the patch in #2718

Attachments (1)

wmsplugin.patch (27.8 KB ) - added by xeen 16 years ago.

Download all attachments as: .zip

Change History (2)

by xeen, 16 years ago

Attachment: wmsplugin.patch added

comment:1 by stoecker, 16 years ago

Resolution: fixed
Status: newclosed

Applied.

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.