﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
16855	htmlEncodeOutput thogether with allowedContent and/or extraAllowedContent	SokratesSoft		"== Steps to reproduce ==
When I define in the global config htmlEncodeOutput=true thogether with allowedContent=true and/or extraAllowedContent = '*(*);*{*}' then the Output is not encoded and it Ends in a bad request on asp.net:

CKEDITOR.config.htmlEncodeOutput = true;
CKEDITOR.config.allowedContent = true;
CKEDITOR.config.extraAllowedContent = '*(*);*{*}';

== Expected result ==
The Output should be encoded to avoid bad request error on asp.net

== Actual result ==
The Output is not endoded as soon as I set allowedContent=true and/or extraAllowedContent

== Other details (browser, OS, CKEditor version, installed plugins) ==
$j = jQuery.noConflict();
var ckobjects = new Array();
$j(document).ready(function () {
    CKEDITOR.config.htmlEncodeOutput = true;
    CKEDITOR.config.allowedContent = true;
    CKEDITOR.config.extraPlugins = 'customcommand';
    $j('[editcontent]').each(function(){
        var tmpelem = CKEDITOR.replace(this, {
            language: 'de',
            enterMode: CKEDITOR.ENTER_BR,
            toolbar: [
                { name: 'basicstyles', items: ['Bold', 'Italic', 'Underline', 'Strike', 'Subscript', 'Superscript', '-', 'RemoveFormat'] },

                { name: 'paragraph', items: ['NumberedList', 'BulletedList', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock'] },
                { name: 'insert', items: ['Table', 'SpecialChar', 'Source'] },

                { name: 'styles', items: ['Format', 'FontSize'] },
                { name: 'colors', items: ['TextColor', 'BGColor'] },
                { name: 'tools', items: ['ShowBlocks'] },
                { name: 'customcommand', items:['customcommand'] }

            ]
        });
        tmpelem.editor = this.attributes.editor;
        ckobjects.push(tmpelem);
    });
});
"	Bug	closed	Normal		General	4.5.8	invalid	htmlEncodeOutput extraAllowedContent allowedContent	
