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
I use a multilevel subdomain for all my local services. If I use more than 3 qualifiers for the url yape will not accept as a valid hostname.
The text was updated successfully, but these errors were encountered:
Updating the regex in options.js
- const isValidName = /^(?!:\/\/)([a-zA-Z0-9]+\.)?[a-zA-Z0-9][a-zA-Z0-9-]+\.[a-zA-Z]{2,6}?$/i.test(value); + const isValidName = /^[a-z\d]([a-z\d\-]{0,61}[a-z\d])?(\.[a-z\d]([a-z\d\-]{0,61}[a-z\d])?)*$/i.test(value);
should work
Regex was taken from https://stackoverflow.com/a/3824105
Sorry, something went wrong.
isValidName
Multilevel subdomains are now supported in the latest version of Yape, as well as path on top of the base URL.
Thank you @joshuajcoronado for your PR, I ended up not using the regex you proposed because of the important refactoring of the options page.
Feel free to give me feedbacks on this new feature.
No branches or pull requests
I use a multilevel subdomain for all my local services. If I use more than 3 qualifiers for the url yape will not accept as a valid hostname.
The text was updated successfully, but these errors were encountered: