Opened 15 years ago

Closed 15 years ago

Last modified 14 years ago

#3862 closed Bug (fixed)

Infinite loop with invalid HTML

Reported by: Artur Formella Owned by: Garry Yao
Priority: Normal Milestone: CKEditor 3.0
Component: Core : Output Data Version:
Keywords: Confirmed Review+ Cc:

Description

To reproduce please paste the following HTML in source mode and go back to WYSIWYG.

<span>
<a><b>test</a></b>
<a><b>test</a></b>
<a><b>test</a></b>
<a><b>test</a></b>
<a><b>test</a></b>
<a><b>test</a></b>
<a><b>test</a></b>
<a><b>test</a></b>
<a><b>test</a></b>
<a><b>test</a></b>
<a><b>test</a></b>
<a><b>test</a></b>
<a><b>test</a></b>
<a><b>test</a></b>
<a><b>test</a></b>
<a><b>test</a></b>
<a><b>test</a></b>
<a><b>test</a></b>
</span>

Result: Infinite loop in all browsers. In FF3 sometimes causes "too much recursion"

Attachments (1)

3862.patch (1.9 KB) - added by Garry Yao 15 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 15 years ago by Garry Yao

Keywords: Confirmed added
Owner: set to Garry Yao
Status: newassigned

Changed 15 years ago by Garry Yao

Attachment: 3862.patch added

comment:2 Changed 15 years ago by Garry Yao

Component: GeneralCore : Output Data
Keywords: Review? added

Nice catch Artur, actually it's a long standing bug with our parser.

comment:3 Changed 15 years ago by Artur Formella

Keywords: Review+ added; Review? removed

comment:4 Changed 15 years ago by Garry Yao

Resolution: fixed
Status: assignedclosed

Fixed with [3797]. Click here for more info about our SVN system.

comment:5 Changed 14 years ago by Frederico Caldeira Knabben

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy