ali1k / ld-r

Linked Data Reactor (LD-R)
http://ld-r.org
Other
127 stars 30 forks source link

Wrong propertyURI creation while creating the "facets" #64

Open deepatwal opened 5 years ago

deepatwal commented 5 years ago

Expected Behavior

facets: {status: true, propertyURI: "http://www.w3.org/2000/01/rdf-schema#label",…}

Actual Behavior

facets: {status: true, propertyURI: "http:/www.w3.org/2000/01/rdf-schema#label", items: [],…

Steps to Reproduce the Problem

  1. run the ldr with following image "FROM ali1k/ld-r:v1.3.5" without nginx. it works expected with propertyURI: "http://www.w3.org/2000/01/rdf-schema#label
  2. when running in production where all call are redirect via nginx, ldr is up. all the created datasets are visible. selecting dataset displays the results. but when selecting a particular check box under "Selected Properties" [say LABEL] in this case. the propertyURI for facets is missing "/" from the URI

facets: {status: true, propertyURI: "http:/www.w3.org/2000/01/rdf-schema#label", items: [],…

Specifications

ali1k commented 5 years ago

Hi @deepatwal, My guess is Nginx has some rules that decodes/unescapes the URL parameters. Would be worth to check your Nginx rules/configuration.