fakedata
fakedata copied to clipboard
Invalid domain names generated
The Faker.Company.fixupName function used in generating domain names replaces spaces with underscores.
This is invalid according to RFC 1035.
The labels must follow the rules for ARPANET host names. They must start with a letter, end with a letter or digit, and have as interior characters only letters, digits, and hyphen. There are also some restrictions on the length. Labels must be 63 characters or less.
I would be happy to accept a PR.
@psibi Here you are: https://github.com/fakedata-haskell/fakedata/pull/53.
New version has been released, closing the issue.