AtlasOfLivingAustralia / ala-bie-hub

BIE (Biodiversity Information Explorer) hub - merge of old ala-bie and bie-plugin
Mozilla Public License 2.0
1 stars 6 forks source link

Remove/Replace the usage of JSONP dataType on AJAX calls when making requests to other ALA services #17

Closed sughics closed 1 year ago

sughics commented 1 year ago

Since JSONP no longer supported i.e. obsolete and is susceptible to known security vulnerabilities, its usage across the app is resulting in CORB(Cross Origin request blocking) for requests to updated biocach-service which returns the content type application/json instead of text/javascript;charset=UTF-8.

JSONP to should be removed/updated where possible to standard JSON where possible for biocache-service requests.

This is currently causing issues with the new version for biocache-service 3.1.2/3.1.2-SNAPSHOT

sughics commented 1 year ago

Changes currently deployed to https://bie-test.ala.org.au/

sughics commented 1 year ago

Released with 2.0.3