lancachenet / lancache-dns

DNS Docker service for a lancache.
https://hub.docker.com/r/lancachenet/lancache-dns/
MIT License
282 stars 74 forks source link

Handle non-alphanumerics in service names #82

Closed GotenXiao closed 5 years ago

GotenXiao commented 5 years ago

This minor patch allows service names in cache-domains.json to contain non-alphanumeric characters, and collapses them down to underscores.

e.g. foobar---baz becomes FOOBAR_BAZ

VibroAxe commented 5 years ago

LGTM