This is a migrated thread and some comments may be shown as answers.

Problem Enter key data in get_newValue() Textarea

1 Answer 18 Views
Input
This is a migrated thread and some comments may be shown as answers.
chammua
Top achievements
Rank 1
chammua asked on 06 Oct 2014, 10:35 AM
Hi all!

I only want compare data from data Original with new value input from control textarea. I have a problem about enter key. So method _get_newValue() generator Enterkey different with method _get_value()???
Please complain for me about problem!
Tks all!

data for _get_value() method:
""><script>alert('xss')</script>
↵<script>alert('xss')</script>"

data for _get_newValue() method:
""><script>alert('xss')</script>↵↵<script>alert('xss')</script>"


1 Answer, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 09 Oct 2014, 09:12 AM
Hi,

I tried to replicate the described issue locally, following you scenario but to no avail.
Find attached a sample runnable application that demonstrates the proper behavior of this implementation and verify what the difference in your case is.

Regards,
Maria Ilieva
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Input
Asked by
chammua
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Share this question
or