Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In the process of updating some of my projects, I found that Google Maps were no longer displaying. Based on the browser warnings, did a look in the JavaScript console, and was getting errors, mainly around the following:
"NetworkError: 404 Not Found - [URL]/sites/all/libraries/infobubble/src/infobubble.js?oi2389"
The resource from “http://[URL]/sites/all/libraries/infobubble/src/infobubble.js?oi2389” was blocked due to MIME type mismatch (X-Content-Type-Options: nosniff).
Based on other digging, this appears due, in part, to new security updates to Drupal core. Any proposed workarounds?
Comments
Comment #2
karolus CreditAttribution: karolus as a volunteer commentedMore info on this--can get it working on production servers, but not on local dev environments. Will see if more can be found on this.
Comment #3
AnybodyThat's correct. The second message is kind of a follow-up of the not found. Not found returns a HTML document but a JavaScript is expected. So don't care about the second, if the loaded file does not exist.