Issue Bug Closed

#83741HTTP Basic Authentication credentials in Google Chrome 64 not transfered to AJAX calls in d3.js

Marco Huber 01/31/18, 16:07 updated 10/02/18, 10:51

Description

Our project is protected by a HTTP Basic Authentication and we have to enter the username/password on every d3.json() call in Google Chrome. In TYPO3 8.7 this function is called in the SvgTree.js to build the tree in the tt_content/categories field, in TYPO3 9.x it’s called for every(?) tree.

This is a bug in the d3.js (4.10) library, but it affects every TYPO3 8.7 and 9.x. An Update to d3.js 4.13 doesn’t help and in d3.js 5.0 there is a similar issue.

https://github.com/d3/d3-request/issues/33
https://github.com/d3/d3-fetch/issues/10

A dirty workaround would be, to set the credentials with some javascript workaround. But I’m not sure if this is the right way. Berhaps the d3.js developers have some ideas on github.

d3.png

Reviews 3