Page MenuHomePhabricator

Iltools: Cross Origin seemingly not being set on Toolforge script
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

What happens?:

The standard scan image loads, not the 'enhanced' direct scans -

The following also appear in the Console: -

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://pagelister.toolforge.org/img_links/v1/links?file=Philological+Museum+v2.djvu&page=309. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing). Status code: 500.

Uncaught (in promise) TypeError: NetworkError when attempting to fetch resource.

What should have happened instead?:

The enhanced scans from the IIIF endpoint at archive.org should have loaded (via the toolforge script), without an issue

Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):

Event Timeline

Aklapper renamed this task from Cross Origin seemingly not being set on Tool-forge script. to Iltools: Cross Origin seemingly not being set on Toolforge script.Sun, Jun 14, 9:54 AM
Aklapper added a project: Tools.

Resolved- Apparently the external script was not picking up a link provided by a templated interwiki as opposed to a direct URL, or was attempting to use the file name directly, as opposed to an identifier.