-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
QGIS mapserver forces http when requesting SLD=https #16023
Comments
Author Name: Giovanni Manghi (@gioman)
|
Author Name: René-Luc ReLuc (@rldhont) PR supplied #7827
As another side-effect using SLD=https:///www.foo.de:443/mysld.xml with results in a 400 bad request error, because qgis mapserver tries to ftech http:///www.foo.de:443/... Solution: qgis mapserver should respect https (well, how to handle self-signed certificates then?) to When trying to use SLD with QGIS mapserver including SLD in GetMap requests qgis-mapserver tries to fetch the SLD-file using only http. Having SLD=https:///www.foo.de/mysld.xml is taken as http:///www.foo.de/mysld.xml - if sld-files are only available via https qgis mapserver can not fetch them. A "premature end of script" error is thrown. As another side-effect using SLD=https:///www.foo.de:443/mysld.xml with results in a 400 bad request error, because qgis mapserver tries to ftech http:///www.foo.de:443/... Solution: qgis mapserver should respect https (well, how to handle self-signed certificates then?) |
Author Name: Giovanni Manghi (@gioman)
|
Author Name: Marco Lechner (Marco Lechner)
Original Redmine Issue: 6898
Affected QGIS version: 2.18.22
Redmine category:qgis_server
Assignee: René-Luc ReLuc
When trying to use SLD with QGIS mapserver including SLD in GetMap requests qgis-mapserver tries to fetch the SLD-file using only http. Having SLD=https:///www.foo.de/mysld.xml is taken as http:///www.foo.de/mysld.xml - if sld-files are only available via https qgis mapserver can not fetch them. A "premature end of script" error is thrown.
As another side-effect using SLD=https:///www.foo.de:443/mysld.xml with results in a 400 bad request error, because qgis mapserver tries to ftech http:///www.foo.de:443/...
Solution: qgis mapserver should respect https (well, how to handle self-signed certificates then?)
The text was updated successfully, but these errors were encountered: