Form Validation is interfering

2 posts, 0 answers
  1. Jeff
    Jeff avatar
    31 posts
    Member since:
    Oct 2006

    Posted 28 Mar 2007 Link to this post

    Form Validation is interfering with the complete functioning of the code converter...

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

    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...").
  2. Todd Anglin
    Todd Anglin avatar
    2040 posts
    Member since:
    Aug 2005

    Posted 28 Mar 2007 Link to this post


    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.

Back to Top