zazukoians / trifid-ld

This repository is DEPRECATED please goto:
https://github.com/zazuko/trifid
Apache License 2.0
18 stars 9 forks source link

Proxy does not handle https URIs properly #57

Closed ktk closed 7 years ago

ktk commented 7 years ago

Given this config for Trifid developer branch:

{
  "baseConfig": "trifid:config-sparql.json",
  "sparqlEndpointUrl": "https://web-sparql-virtuoso.dev.bgdi.ch/sparql",
  "datasetBaseUrl": "https://ld.geo.admin.ch/",
  "staticFiles": {
    "alodFiles": {
      "path": "/",
      "folder": "cwd:data/public"
    }
  }  
}

And this URI for testing: http://geotrifid:8080/boundaries/cantons/12 (localhost should probably work as well)

Trifid does the ASK for http, not https as it should according to the datasetBaseUrl.

ktk commented 7 years ago

Resources to test with:

bergos commented 7 years ago

Fixed with this commit in camouflage-rewrite and this commit in trifid. Patched versions of both packages have been published on npm.