Skip to content

Fix invalid IP address storage by using host_ip instead of host#1535

Open
w1ld3r wants to merge 20 commits intoyogeshojha:masterfrom
w1ld3r:master
Open

Fix invalid IP address storage by using host_ip instead of host#1535
w1ld3r wants to merge 20 commits intoyogeshojha:masterfrom
w1ld3r:master

Conversation

@w1ld3r
Copy link

@w1ld3r w1ld3r commented Dec 31, 2025

  1. Resolved an issue where the HTTP crawl task attempted to save the host value from the httpx response as an IP address, causing validation errors when the value was a domain name. The fix ensures that only the host_ip field returned by httpx—which contains a valid IP address—is used when creating IP address records.

  2. Resolve an issue where WHOIS data was not retrieved when no Netlas API key was configured. The problem was caused by an incorrect comparison that treated the string 'None' as a valid key. This fix ensures that only valid, non-None keys are appended to the command, preventing the task from attempting to use invalid API keys.

@github-actions
Copy link
Contributor

Woohoo @w1ld3r! 🎉 You've just dropped some hot new code! 🔥

Hang tight while we review this! You rock! 🤘

Copy link

@offset7 offset7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

correct

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants