Issue 650: Improper evaluation of regex is causing Chrome to bypass the  
form data validation
http://code.google.com/p/chromium/issues/detail?id=650

Comment #12 by stefan.sedich:
I am also having this problem with the ASP.NET validation ever since I have  
updated
to the new version of chrome this worked fine before only recently started  
breaking,
I have attached a test page where you will see the event  
ValidatorHookupEvent which
the ASP.NET validation uses to hook up events for validation, the  
eval("control." +
eventType + " = func;"); is at fault, has say an onsubmit always been like  
above:

  with (_kwtlForm.ownerDocument ? this.ownerDocument : {}) {
       with (this.form ? this.form : {}) {
         with (this) {
           return (function(evt){return validate(this)}).call(this, evt);
         }
       }
     }

Because my issue is the func = new Function("event", functionPrefix + " " +  
ev); will
call with the argument event and not evt, if I change event to evt this  
works fine.
This used to work fine so just wierd.


Thanks

Attachments:
        test.html  1.7 KB



-- 
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Chromium-bugs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/chromium-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to