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

Form Validation is interfering

1 Answer 110 Views
Code Converter
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Jeff
Top achievements
Rank 1
Jeff asked on 29 Mar 2007, 01:30 AM
Form Validation is interfering with the complete functioning of the code converter...

   ''' <summary>  
    ''' Method Summary  
    ''' </summary> 

or
private Generic.List<string> _ResultList = new Generic.List<string>();  
 

will cause a nice error to appear like:
A potentially dangerous Request.Form value was detected from the client (ctl00$cpMainContent$txtResults="...neric.List<string> _ResultList...").

1 Answer, 1 is accepted

Sort by
0
Todd Anglin
Top achievements
Rank 2
answered on 29 Mar 2007, 01:56 AM
Jeff-

Thanks for the note. This is actually the number one TODO on the list for the converter. If you revisit the converter later tonight, you'll find that the problem is gone.

For now, we will simply disable RequestValidation (the root cause of this problem), but our aim is to implement client-side encoding of the post data to prevent these errors while maintaining RequestValidation. That should be implemented early next week.

In any event, thanks for the feedback. Look for the "improved" converter later tonight.

Thanks~
Todd
Tags
Code Converter
Asked by
Jeff
Top achievements
Rank 1
Answers by
Todd Anglin
Top achievements
Rank 2
Share this question
or