ProjectAdA / ada-ae

Repository for the source code of the annotation explorer, REST API and triplestore, and all linked data sets that were developed in the AdA project.
1 stars 0 forks source link

Explorer: (Frametrail) Annotation preview does load LodView page because of mixed https/http content (Prio: 2) #46

Closed hagt closed 3 years ago

hagt commented 3 years ago

Redirect does not seem to be possible in Javascript - recognize protocol automatically and rewrite URLs?

hagt commented 3 years ago

The reason is that the popup loads an iframe with an http data url and the browser prevents this for security reasons.

Possible solution: Use relative paths for resource URIs in the front end. This will fix the use of the correct protocol and the loading of resources from possible other subdomains.

hagt commented 3 years ago

Relative paths did not work. Instead protocol, hostname and port of annotation uri is patched.