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
When using short subdomains (E.G. i.test.example.com), calling ping will incorrectly throw an error with Given IP address is not valid.
i.test.example.com
ping
Given IP address is not valid
Likely due to a too-strict regex in validateIp.
validateIp
Example:
try { await ping('i.test.example.com') // will throw "ipError: Given IP address is not valid" } catch(err) { console.error(err) }
The text was updated successfully, but these errors were encountered:
fix: incorrect regex for handling short subdomains, addl test for bar…
8ddbc31
…e domains, fixes dopecodez#33
fix: incorrect regex for handling short subdomains, add test for bare…
23bcacc
… domains, fixes #33 (#34)
Released on https://github.com/dopecodez/pingman/releases/tag/v1.1.3 🎉 .
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
When using short subdomains (E.G.
i.test.example.com
), callingping
will incorrectly throw an error withGiven IP address is not valid
.Likely due to a too-strict regex in
validateIp
.Example:
The text was updated successfully, but these errors were encountered: