Comments (2)
Let me check on it
On Friday, April 15, 2016, Igor Cherkashin [email protected] wrote:
public function validates, line 400.
it parses an expression by format: regex,/here exactly regex body/
but what's happen if the regex body has one or more comma as well ?I offer changes:
if (($rv=strstr($rule, ',')) !== false) {
$rule = explode(',', $rule);
$method = 'validate_'.$rule[0];
$param = ltrim($rv,',');//$rule[1];
$rule = $rule[0];
} else {
$method = 'validate_'.$rule;
}—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub<
https://ci5.googleusercontent.com/proxy/3uMDi3R7bg6IRq3SaVmBScL4ZLbbB4fbjkyTnEEg4wMmAHuLj5FCqoHkXPf0IW3YGMNNZ3BhvQXfAoSm7iBJzfa8FJ034IHBp1kf4cHdVXtgXT7u01no_A4Ur1IjiNLDcyPTtAY2O9U1F37CZn0_NcLmWXzqrQ=s0-d-e1-ft#https://github.com/notifications/beacon/AGnizq7r_fLSoFamflNksDJdKEYbIyjzks5p38dygaJpZM4IIg8l.gif
from f3-validate.
This issue is still possibly persistent
from f3-validate.
Related Issues (11)
- Add Same Rule HOT 2
- Publish on packagist? HOT 2
- Ability to translate error messages HOT 1
- validate_equalsfield has no predefined errors in get_errors_array
- errors keys from get_errors_array should not be uppercased HOT 1
- Custom error message for custom validation rules HOT 2
- error msg returns HOT 1
- multi language error message HOT 1
- redirect error pages without losing form data HOT 1
- Validator alpha_numeric in documentation HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from f3-validate.