Retesting this now.
Summary : could reproduce with v11, not with v12 and v13.
I used the following snippet which existed in our site: (this snippet is harmless and does not disclose information, but I could find or construct others which might).
<p class="docData;DOCY;v5;1046;BQiAAgAAEYQCAAAGiAIAAAM1AwAABUMDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAqQAAAACkAAAAARgAAAABBgAAAAAJBgAAAAAaBgAAAAAbBgAAAAACggAAAAVfAAAAAQAAAAAIVQAAAABQAAAASABlAHUAdABlACAAdwBpAGUAIABkAGEAbQBhAGwAcwA6ACAAbQBlAGgAcgAgAEQAZQBtAG8AawByAGEAdABpAGUAIAB3AGEAZwBlAG4AIQAFCgAAAAEAAAAACAAAAAAFCgAAAAEAAAAACAAAAAAKAAAAAAAAAAARAAAAAM8AAAAAEgAAAAEGAAAAAAkGAAAAABsGAAAAAAGuAAAABAYeAAAAVABpAG0AZQBzACAATgBlAHcAIABSAG8AbQBhAG4ABQYeAAAAVABpAG0AZQBzACAATgBlAHcAIABSAG8AbQBhAG4ABwYeAAAAVABpAG0AZQBzACAATgBlAHcAIABSAG8AbQBhAG4AKgEHEwEBCAQYAAAAFgQYAAAAGQYKAAAAZABlAC0ARABFABoGCgAAAGEAcgAtAFMAQQAbBgoAAABlAG4ALQBVAFMAAgAAAAA=">
Text!</p>
This contains a base64 string with length of 1418. Decoded this is something like this (I did not bother to attempt to figure out which character encoding, so some characters here are bogus:
original string:
���5C©¤�_UPHeute wie damals: mehr Demokratie wagen!�®Times New RomanTimes New RomanTimes New Roman*de-DEar-SAen-US
Reproduce:
1. In an RTE field (in "Text & Media" bodytext), I switched to source code
2. I pasted the snippet
3. I saved the content element
4. I checked if the docData still existed
- in v11: this snippet still exists after saving or swiching modes
- in v12: is stripped: good!
- in v13: is stripped: good!
After being stripped, it looks like this:
<p>
Text!
</p>
The text is already stripped away if switching back to "normal" mode and then back to "source code" view.
I assume it is strongly ckeditor related.
CC @Georg Ringer Georg Ringer