diff --git a/packages/validator/src/formats.ts b/packages/validator/src/formats.ts index ce5b3bdc17e..3b942c06322 100644 --- a/packages/validator/src/formats.ts +++ b/packages/validator/src/formats.ts @@ -1,7 +1,7 @@ export default { url: new RegExp( // protocol identifier - '^(?:(?:(?:https?|ftp):)?//)' + + '^(?:(?:(?:https?|ftp|rtmp):)?//)' + // user:pass authentication '(?:\\S+(?::\\S*)?@)?' + '(?:' +