There is a serious error which crashes browsers in Cute Editors Find Replace implementation.
This issue is reproducable in the samples on http://richtextbox.com
To reproduce this issue perform the following steps:
- Enter some text e.g. Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test
- Click Find Replace
- Find=Test
- Replace=TestD
- Replace All
- Browser will die
It seems like the find replace performs the following steps:
- Find Test
- Replace it with TestD
- Find Test then finds TestD (The text already replaced)
- Makes it TestDD
- Finds TestDD (The text already replaced twice)
- Makes it with TestDDD
- The recursive loop crashes the browser.
If you need any further information then please let me know.