Opened 10 days ago

Closed 10 days ago

#16855 closed Bug (invalid)

htmlEncodeOutput thogether with allowedContent and/or extraAllowedContent

Reported by: sokratessoft Owned by:
Priority: Normal Milestone:
Component: General Version: 4.5.8
Keywords: htmlEncodeOutput extraAllowedContent allowedContent Cc:

Description

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);

});

});

Change History (2)

comment:1 Changed 10 days ago by sokratessoft

The issue was caused outside ckeditor. Sorry for bothering you.

Have fun and good codeing

Last edited 10 days ago by sokratessoft (previous) (diff)

comment:2 Changed 10 days ago by sokratessoft

  • Resolution set to invalid
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.
© 2003 – 2016 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy