[Webkit-unassigned] [Bug 105875] New: Input Validation via Pattern Attribute Broken

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Dec 30 14:07:46 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=105875

           Summary: Input Validation via Pattern Attribute Broken
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh Intel
               URL: http://dev.nospoon.tv/webkit-pattern-attribute/
        OS/Version: Mac OS X 10.7
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Forms
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: hugh.guiney at gmail.com


At the URL provided you will find an imitation datetime input: a text field with a pattern attribute specifying a regular expression that matches most of ISO 8601. It is tested and working in both Firefox and Opera. However, in Safari and Chrome, "2013-01-01" and other valid permutations trigger an invalid status.

I am using Cameron Brooks's regex and test cases from http://underground.infovark.com/2008/07/22/iso-date-validation-regex/#comment-344 to demonstrate the problem.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list