Opened 5 years ago

Closed 5 years ago

#11369 closed Bug (invalid)

Error during the process of storing ckeditor content

Reported by: Rama Owned by:
Priority: Normal Milestone:
Component: Server : ASP.Net Version: 4.3.1
Keywords: Cc: Rama

Description

Hi.,

I had an issue regarding ie11 .Now i upgraded 4.3 version works well while displaying the content from database and editing . when i finished editing ,press save button i got error "A potentially dangerous Request.Form value was detected from the client " .This error came after the storing code only.

Attachments (2)

coding.png (198.4 KB) - added by Rama 5 years ago.
error.png (172.6 KB) - added by Rama 5 years ago.

Download all attachments as: .zip

Change History (3)

Changed 5 years ago by Rama

Attachment: coding.png added

Changed 5 years ago by Rama

Attachment: error.png added

comment:1 Changed 5 years ago by Jakub Ś

Keywords: ckeditor 4.3 removed
Resolution: invalid
Status: newclosed

The value I see on the screenshot is valid HTML. The only thing that comes to my mind is that your ASP.NER server side rises errors because of < > / characters. What you should do is probably encode HTML before sending it to server.

I think that you should check out http://www.w3schools.com/jsref/jsref_encodeuricomponent.asp function and encode HTML parameter before putting it into request.

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy