Revision 34233707
Von Christian Ehringfeld vor mehr als 8 Jahren hinzugefügt
src/validators/urlvalidator.cpp | ||
---|---|---|
if (regExp.match(val).hasMatch()) {
|
||
return ErrorMsg();
|
||
} else {
|
||
return ErrorMsg(param.getName(), "Value is not a valid URL.");
|
||
return ErrorMsg(param.getName(), "<property> is not a valid URL.");
|
||
}
|
||
}
|
||
return ErrorMsg();
|
Auch abrufbar als: Unified diff
...