GitHub user bripkens opened a pull request: https://github.com/apache/commons-validator/pull/1
Deprecate the JS part of commons validator The JS parts of commons-validator haven't been updated in a while and don't necessarily follow common security best practices (almost every function uses `eval`). At the same time there are quite a few issues that are several years old and haven't been worked upon [1]. For this reason I propose to deprecate (and later remove) the JS component of commons-validator using JavaDoc / JSDoc mechanisms and with a warning on the browser's console. All deprecation messages refer to an alternative that is commonly used and actively maintained to give the users some guidance. [1] https://issues.apache.org/jira/browse/VALIDATOR-322?jql=project%20%3D%20VALIDATOR%20AND%20component%20%3D%20JavaScript%20AND%20status%20%3D%20Open%20ORDER%20BY%20priority%20DESC You can merge this pull request into a Git repository by running: $ git pull https://github.com/bripkens/commons-validator deprecate-js Alternatively you can review and apply these changes as the patch at: https://github.com/apache/commons-validator/pull/1.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1 ---- commit 75f2bc4f3ef73afd747664e7248070620c6b1289 Author: Ben Ripkens <bripkens....@gmail.com> Date: 2014-07-07T19:39:42Z Deprecate the JS part of commons validation ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org