filepreviews.js icon indicating copy to clipboard operation
filepreviews.js copied to clipboard

XMLHttpRequest.withCredentials should initially be false

Open tbohlen opened this issue 7 years ago • 0 comments

This is somewhat obscure, but I'm working on a site that includes both your library and reactS3Uploader. Their code causes an error if withCredentials is set to undefined on an XMLHttpRequest. The spec also requires its value to initially be false.

It looks like you custom XMLHttpRequest code appears to result in withCredentials initially being undefined.

The result was that including filepreviews broke by other s3uploader.

tbohlen avatar Oct 13 '17 00:10 tbohlen