Skip to content
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

Closed
qgib opened this issue Dec 19, 2012 · 4 comments
Closed

QGIS mapserver forces http when requesting SLD=https #16023

qgib opened this issue Dec 19, 2012 · 4 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Server Related to QGIS server

Comments

@qgib
Copy link
Contributor

qgib commented Dec 19, 2012

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?)

@qgib
Copy link
Contributor Author

qgib commented Apr 30, 2017

Author Name: Giovanni Manghi (@gioman)


  • easy_fix was configured as 0
  • regression was configured as 0

@qgib
Copy link
Contributor Author

qgib commented Sep 7, 2018

Author Name: René-Luc ReLuc (@rldhont)


PR supplied #7827


  • version was changed from master to 2.18.22
  • pull_request_patch_supplied was changed from 0 to 1
  • assigned_to_id was configured as René-Luc ReLuc
  • description was changed from 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?) 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?)

@qgib
Copy link
Contributor Author

qgib commented Sep 10, 2018

Author Name: René-Luc ReLuc (@rldhont)


Applied in changeset a5dd6eb.


  • done_ratio was changed from 0 to 100
  • status_id was changed from Open to Closed

@qgib qgib closed this as completed Sep 10, 2018
@qgib
Copy link
Contributor Author

qgib commented Sep 10, 2018

Author Name: Giovanni Manghi (@gioman)


  • resolution was changed from to fixed/implemented

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Server Related to QGIS server labels May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Server Related to QGIS server
Projects
None yet
Development

No branches or pull requests

1 participant