ipx
ipx copied to clipboard
feat: enhance domain validate with regex, support wildcard domain and path validate
๐ Linked issue
- resolves #149
- resolves #27
โ Type of change
- [ ] ๐ Documentation (updates to the documentation, readme, or JSdoc annotations)
- [ ] ๐ Bug fix (a non-breaking change that fixes an issue)
- [x] ๐ Enhancement (improving an existing functionality like performance)
- [ ] โจ New feature (a non-breaking change that adds functionality)
- [ ] ๐งน Chore (updates to the build process or auxiliary tools and libraries)
- [ ] โ ๏ธ Breaking change (fix or feature that would cause existing functionality to change)
๐ Description
I modified the original simple hostname check to support both hostname and pathname validation, and I also added the capability to use wildcard domain verification. ( use regex )
๐ Checklist
- [x] I have linked an issue or discussion.
- [ ] I have updated the documentation accordingly. This feature has not been documented yet.
This looks good & certainly a useful addition. If the merge conflicts were addressed & potentially IPX_HTTP_DOMAINS
docs updated to mention wildcard support, is there reason not to merge @pi0?