Page MenuHomePhabricator

SPARQL requests producing errors still should have Access-Control-Allow-Origin header
Closed, ResolvedPublic1 Estimated Story Points

Description

Hello

Can you allow any origin for reading the error ?
It's more simple for debuging a query.

Error :

XMLHttpRequest cannot load https://query.wikidata.org/bigdata/namespace/wdq/sparql?format=text%2Fhtml&…dserviceParam%20wikibase%3Alanguage%20%22en%22%20.%0A%20%20%20%7D%0A%20%7D. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://127.0.0.1' is therefore not allowed access. The response had HTTP status code 400.

Thanks
Karima

Event Timeline

Karima raised the priority of this task from to Needs Triage.
Karima updated the task description. (Show Details)
Karima subscribed.
Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Smalyshev renamed this task from Allow any origin for reading query.wikidata's errors ? to SPARQL requests producing errors still should have Access-Control-Allow-Origin header.Oct 14 2015, 8:38 PM
Smalyshev set Security to None.
Smalyshev edited a custom field.

Change 272908 had a related patch set uploaded (by Smalyshev):
Always add Access-Control-Allow-Origin for WDQS backend response

https://gerrit.wikimedia.org/r/272908

Change 272908 merged by Giuseppe Lavagetto:
Always add Access-Control-Allow-Origin for WDQS backend response

https://gerrit.wikimedia.org/r/272908