if (!value) {
return true;
}
- if (!value.match(/^https?:\/\/[A-Za-z0-9\[\]\/.\-?&+_@%=:~#]+$/)) {
+ if (!value.match(/^https?:\/\/[A-Za-z0-9[\]/.?&+_@%=:~#-]+$/)) {
return _('Protocol/URL format not supported');
}
return true;
if (!value) {
return true;
}
- if (!value.match(/^https?:\/\/[A-Za-z0-9\[\]\/.\-?&+_@%=:~#]+$/)) {
+ if (!value.match(/^https?:\/\/[A-Za-z0-9[\]/.?&+_@%=:~#-]+$/)) {
return _('Protocol/URL format not supported');
}
return true;
if (!value) {
return true;
}
- if (!value.match(/^(\bgz\b|\btcp\b|\budp\b|\b[0-9\-]+\b| )*$/)) {
+ if (!value.match(/^(\bgz\b|\btcp\b|\budp\b|\b[0-9-]+\b| )*$/)) {
return _('Flag not supported');
}
return true;
handleSaveApply: null,
handleSave: null,
handleReset: null
-});
\ No newline at end of file
+});