P
Paj
hi,
this code cript a querystring by Rijndael class:
_______________________
RijndaelManaged rjm = new RijndaelManaged();
rjm.KeySize = 128;
rjm.BlockSize = 128;
rjm.Key = ASCIIEncoding.ASCII.GetBytes(cÂhiave);
rjm.IV = ASCIIEncoding.ASCII.GetBytes(iÂv);
Byte[] input = Encoding.UTF8.GetBytes(S);
Byte[] output = rjm.CreateEncryptor().TransforÂmFinalBlock(input,
0,input.Length);
return Convert.ToBase64String(output)Â;
______________________________
In one page i have this javascript with cript querystring
''
javascript:window.open('DownloÂadDocumento.aspx?id=hiWQqPNzFsÂ0ONpwkTsrFCw%3d%3d&est=ohPÂsZliSmWSE0hwYNIq7nA%3d%3d .....
''
ASP.NET return this error........................why ?
______________________________Â___
Exception Details: System.Web.HttpRequestValidatiÂonException: A
potentially dangerous Request.QueryString value was
detected from the client (id="...iWQqPNzFs0ONpwkTsrFCw=Â=").
______________________________Â____
thank you
Paj
this code cript a querystring by Rijndael class:
_______________________
RijndaelManaged rjm = new RijndaelManaged();
rjm.KeySize = 128;
rjm.BlockSize = 128;
rjm.Key = ASCIIEncoding.ASCII.GetBytes(cÂhiave);
rjm.IV = ASCIIEncoding.ASCII.GetBytes(iÂv);
Byte[] input = Encoding.UTF8.GetBytes(S);
Byte[] output = rjm.CreateEncryptor().TransforÂmFinalBlock(input,
0,input.Length);
return Convert.ToBase64String(output)Â;
______________________________
In one page i have this javascript with cript querystring
''
javascript:window.open('DownloÂadDocumento.aspx?id=hiWQqPNzFsÂ0ONpwkTsrFCw%3d%3d&est=ohPÂsZliSmWSE0hwYNIq7nA%3d%3d .....
''
ASP.NET return this error........................why ?
______________________________Â___
Exception Details: System.Web.HttpRequestValidatiÂonException: A
potentially dangerous Request.QueryString value was
detected from the client (id="...iWQqPNzFs0ONpwkTsrFCw=Â=").
______________________________Â____
thank you
Paj