ArcGIS API's SRI hash has changed

767
3
Jump to solution
09-21-2016 09:39 AM
JeffJacobson
Occasional Contributor III

It appears the http://js.arcgis.com/3.17/init.js file has changed, causing SRI checks to fail. Did Esri intentionally change the file recently, or has there been a hack? I thought that once a version of the API was released, it was not supposed to change. (An update would require a new version number.)

0 Kudos
1 Solution

Accepted Solutions
BjornSvensson
Esri Regular Contributor

Yes, that was an intentional change to support recent/upcoming versions of Chrome/Safari/Firefox. See https://blogs.esri.com/esri/supportcenter/2016/09/20/announcement-errors-encountered-in-arcgis-for-s... for more background information.

View solution in original post

3 Replies
SteveCole
Frequent Contributor

I don't know anything about this but I was just trying to use your GeoPortal app yesterday and it wasn't loading due to that error. I was going to report it to you but the weird thing was that it still loaded on my iPhone- just not my work computer. I just chalked it up to some change by our IT department.

0 Kudos
JeffJacobson
Occasional Contributor III

I updated the "integrity" tag in the GeoPortal HTML so that it would work again. (The GeoPortal failure is what prompted this question.) The reason that it worked on your iPhone is that iOS doesn't support subresource integrity checking.

BjornSvensson
Esri Regular Contributor

Yes, that was an intentional change to support recent/upcoming versions of Chrome/Safari/Firefox. See https://blogs.esri.com/esri/supportcenter/2016/09/20/announcement-errors-encountered-in-arcgis-for-s... for more background information.