- πΊπΈUnited States smustgrave
Following up if anyone was able to verify #36 if so we can close this out and move over credit.
- Status changed to Closed: duplicate
over 1 year ago 5:37pm 20 October 2023
_locale_parse_js_file() throws an exception if an external file is passed in, but I can't see anywhere in the call path (locale_js_alter() -> locale_js_translate() where those are supposed to be filtered out.
This makes it impossible to add external JS files on a non-en site.
As a workaround, you can specifiy a protocol-agnostic URL (//example.org/file.js), but that just gets you around that check, I have no idea what actually happens then.
I also have no idea what exactly caused this?
Filter out external JS files.
Closed: duplicate
9.5
The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.
After being applied to the 8.x branch, it should be considered for backport to the 7.x branch. Note: This tag should generally remain even after the backport has been written, approved, and committed.
Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Following up if anyone was able to verify #36 if so we can close this out and move over credit.