Re: ValidateRequest=False "sort of" ignored

  •  10-03-2005, 7:20 PM

    Re: ValidateRequest=False "sort of" ignored

    Hello Adam,
     
    Thank you for your response.  I understand what you're saying, however I'm still having problems because I'm opening the webform using the "window.open" JavaScript function -- and I'm also using JavaScript's "escape()" function to encode the HTML I'm passing to the webform.  Here's what my JavaScript looks like:
     
    function BringUpEditWindow(vText, vID) {
      var url = 'edittext2.aspx?id=' + vID + '&text=' + escape(vText);
      window.open(url,"Test","width=800,height=300,resizable=yes,scrollbars=yes,location=yes,status=yes");
    }
     
    In the Address Bar of the popup webform, it shows the encoded text:
     
    %3Cfont%20size%3D%224%22%3Etest%3C/font%3E
     
    So it appears to be encoded, HOWEVER, I did notice that if I put a breakpoint in the codebehind file and view the contents of Request.QueryString("text"), the encoded HTML appears to be DEcoded -- even though I haven't explicitly decoded it.  I'm thinking this might be part of the problem.
     
    I'm going to play around with this some more, but if you have any suggestions, I'm all ears :)
     
    Thank you,
    Ben
View Complete Thread