fix(runner): accept raw IPv6 inputs without treating as host:port#924
fix(runner): accept raw IPv6 inputs without treating as host:port#924Rhan2020 wants to merge 1 commit intoprojectdiscovery:devfrom
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Tip Try Coding Plans. Let us write the prompt for your AI agent so you can ship faster (with fewer bugs). Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Neo - PR Security ReviewNo security issues found Highlights
Comment |
Fixes #859.
When passing an IPv6 literal like
2a03:2880:11ff:17::face:b00c(no brackets) as input, the runner treated it ashost:portand failed parsing.This change:
[...]:443) and classichost:port.Added a small unit test covering domain, IPv4, IPv6, and bracketed IPv6+port.