Opened 14 years ago
Last modified 11 years ago
#7826 closed Bug
Source protection dosen't work for textarea tag — at Version 3
Reported by: | maza | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | Core : Output Data | Version: | 3.5.2 |
Keywords: | Cc: | spotlighter@… |
Description (last modified by )
Set in config.js config.protectedSource.push( /<\?[\s\S]*?\?>/g ); // PHP code
If You use this code:
<textarea name="f[desc2]" cols="45" rows="10"><?php echo $oFormat->htmlToEnt($_POST['f']['desc2'], false); ?></textarea>
{cke_protected_x} dosen't apper in HTML mode. Source view shows:
<textarea cols="45" name="f[desc2]" rows="10"><!--{cke_protected}%3C%3Fphp%20echo%20%24oFormat-%3EhtmlToEnt(%24_POST%5B'f'%5D%5B'desc2'%5D%2C%20false)%3B%20%3F%3E--></textarea>
Change History (3)
comment:1 Changed 14 years ago by
Cc: | spotlighter@… added |
---|
comment:2 Changed 14 years ago by
Keywords: | source protection textarea removed |
---|---|
Status: | new → confirmed |
Version: | 3.5.3 → 3.5.2 |
comment:3 Changed 12 years ago by
Description: | modified (diff) |
---|
Works fine in HTML attributes, tags like form, p or span but it doesn't work inside textarea.
I have set 3.5.2 version because according to #4475 this is where attributes were fixed.