We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Related: facebook/docusaurus#3219
Code sandbox: https://codesandbox.io/s/joi-validation-interactive-52stl?file=/src/index.js:292-386
Joi.string() .uri() .validate("https://riot.im/app/#/room/#ligo-public:matrix.org")
console.log( Joi.string() .uri() .validate("https://riot.im/app/#/room/#ligo-public:matrix.org"), ); console.log(new URL("https://riot.im/app/#/room/#ligo-public:matrix.org"));
Joi returns an error, while the URL is parseable
Joi does not return an error
The text was updated successfully, but these errors were encountered:
#
No branches or pull requests
Support plan
Context
Related: facebook/docusaurus#3219
What are you trying to achieve or the steps to reproduce?
Code sandbox: https://codesandbox.io/s/joi-validation-interactive-52stl?file=/src/index.js:292-386
What was the result you got?
Joi returns an error, while the URL is parseable
What result did you expect?
Joi does not return an error
The text was updated successfully, but these errors were encountered: