Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix for validator preventing requests without tld #11097
Use the require_tld: false option in the package validator.
I don't think this is the right fix for the problem - it's changing many, many cases & and usages, to resolve an edge case in one specific usage.
As I understand, your use case is very edgecase - not having a TLD - and it's only affecting the scheduler. Therefore it doesn't make sense to change all usages of the request lib and also the generic url validator to solve that one tiny case, when it has the potential to cause hard to understand errors in many other cases.
IMO there are easier, safer solutions that have less impact.