[Mono-aspnet-list] EnableEventValidation not working
dev.malst at apsystems.it
Thu Oct 15 03:36:12 EDT 2009
Ok, I have another test case to build :-) I'll do it as soon as possible.
Btw when I said "not implemented" I was talking about configuration
parameters management, not the event validation feature.
At 19.49 14/10/2009, you wrote:
>>I have some page where mono gives me the error:
>>Invalid postback or callback argument. Event validation is enabled
>>using <pages enableEventValidation="true"/> in configuration or <%@
>>Page EnableEventValidation="true" %> in a page. For security
>>purposes, this feature verifies that arguments to postback or
>>callback events originate from the server control that originally
>>rendered them. If the data is valid and expected, use the
>>ClientScriptManager.RegisterForEventValidation method in order to
>>register the postback or callback data for validation.
>>The same page works correctly on MS.NET but the problem is another.
>>Even inserting EnableEventValidation="false" in Page directive or
>><pages enableEventValidation="false"/> in web.config file the error
>>Maybe EnableEventValidation is not implemented in Mono? Or I'm
>>doing something wrong?
>As the above message reads, event validation is enabled. It is
>implemented by Mono but you might have hit a bug. Create a simple,
>self-contained and ready to run test case and file a bug report for
>the System.Web component attaching the test case (see
>Il messaggio e' stato analizzato alla ricerca di virus o
>contenuti pericolosi da MailScanner, ed e'
>risultato non infetto.
More information about the Mono-aspnet-list