Uploaded image for project: 'Commons Validator'
  1. Commons Validator
  2. VALIDATOR-228

allow to cite the offending value if a validation fails as argument (Trusted-Input vs. Filter Concept)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Abandoned
    • None
    • 2.0
    • Framework
    • None
    • any

    Description

      for example if an email recipient in a webmail form is deemed to be wrong, it is useful to cite which recipient it was since there could have been several recipients in the form.

      To do this safely, the email needs to be considered untrusted, since it may contain a cross-site-script XSS .

      For inspiration, have a look how we paired untrusted inputs (should be the default) with filtering in org.bouncycastle.i18n
      (if you use it for example in tomcat, there are also some tricky class-loader issues that are solved by now...)

      previous discussions on this are in https://issues.apache.org/struts/browse/STR-1946

      Attachments

        Activity

          People

            Unassigned Unassigned
            ralfhauser Ralf Hauser
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: