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
The regex used for target validation is defined here: https://github.com/checktheroads/hyperglass/blob/c25cc5f3e13272b0534051e5a09614f852e2211c/hyperglass/ui/components/QueryTarget.js#L5
Example of domains that fails the validation:
I think the following regex should fix the bug: /^(?!:\/\/)([a-zA-Z0-9][a-zA-Z0-9-]+\.)?[a-zA-Z0-9][a-zA-Z0-9-]+\.[a-zA-Z]{2,6}?$/gim
/^(?!:\/\/)([a-zA-Z0-9][a-zA-Z0-9-]+\.)?[a-zA-Z0-9][a-zA-Z0-9-]+\.[a-zA-Z]{2,6}?$/gim
The text was updated successfully, but these errors were encountered:
Good catch! This will be fixed in the next release.
Sorry, something went wrong.
3cbbbed
No branches or pull requests
The regex used for target validation is defined here:
https://github.com/checktheroads/hyperglass/blob/c25cc5f3e13272b0534051e5a09614f852e2211c/hyperglass/ui/components/QueryTarget.js#L5
Example of domains that fails the validation:
I think the following regex should fix the bug:
/^(?!:\/\/)([a-zA-Z0-9][a-zA-Z0-9-]+\.)?[a-zA-Z0-9][a-zA-Z0-9-]+\.[a-zA-Z]{2,6}?$/gim
The text was updated successfully, but these errors were encountered: