Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-1056

CreditCardValidator does not handle spaces or dashes

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.3.0-beta3
    • 1.3.0-final
    • wicket
    • None

    Description

      The CreditCardValidator assumes that the provided input only contains numbers without spaces, dashes, etc.

      The validator should be extended to properly handle these common input scenarios, perhaps with an optional attribute around stripping these unwanted characters from the input.

      Attachments

        1. CreditCardValidator.patch.gz
          0.4 kB
          Johan Karlberg

        Activity

          People

            jcompagner Johan Compagner
            msandori Mark Sandori
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: