Page MenuHomePhabricator

Special:CX shows CORS when trying to load a template mapping file which does not exist
Closed, ResolvedPublic1 Estimated Story Points


XMLHttpRequest cannot load No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin '' is therefore not allowed access.

Possible solutions:

  1. Load via API like we usually do
  2. Investigate whether adding CORS is possible and even wanted

Version: master
Severity: normal

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:30 AM
bzimport set Reference to bz67457.
bzimport added a subscriber: Unknown Object (MLST).

That file fi-de.json does not exist. es-ca.json is good example. But, you are correct about loading from different domain.

Easy to confirm by using some other language. This error only happens if the file does not exist. Does not break anything, but spams the logs and is misleading. Changing the scope of the bug to reflect this.

Amire80 set Security to None.
gerritbot added a subscriber: gerritbot.

Change 190788 had a related patch set uploaded (by Santhosh):
Configuration API to read configuration for language pairs


Change 190788 merged by Nikerabbit:
Configuration API to read configuration for language pairs