Ckeditor5: Chrome warns about new lines in attributes

Created on 21 Jun 2017  Â·  4Comments  Â·  Source: ckeditor/ckeditor5

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.

intro upload invalid bug

Most helpful comment

You have to do replace the newline character in string after that it will be solve.

String.replace(/\n|r/g, "");

All 4 comments

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?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

oleq picture oleq  Â·  3Comments

MansoorJafari picture MansoorJafari  Â·  3Comments

metalelf0 picture metalelf0  Â·  3Comments

msamsel picture msamsel  Â·  3Comments

Reinmar picture Reinmar  Â·  3Comments