Opened 15 years ago
Closed 15 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)
Change History (2)
by , 15 years ago
Attachment: | wmsplugin.patch added |
---|
comment:1 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Applied.