When I drop an image Chrome shows the following warning:
[Deprecation] Resource requests whose URLs contain raw newline characters are deprecated, and may be blocked in M60, around August 2017. Please remove newlines from places like element attribute values in order to continue loading those resources. See https://www.chromestatus.com/features/5735596811091968 for more details.
You have to do replace the newline character in string after that it will be solve.
String.replace(/\n|r/g, "");
I cannot reproduce this issue…
I'm not able to reproduce it either.
Maybe the file that @Reinmar tried had a long name and a space in its name?
Most helpful comment
You have to do replace the newline character in string after that it will be solve.
String.replace(/\n|r/g, "");