nshttpd / mikrotik-exporter

prometheus mikrotik device(s) exporter
BSD 3-Clause "New" or "Revised" License
550 stars 153 forks source link

Quote DHCP hostname #135

Closed vojta001 closed 2 years ago

vojta001 commented 2 years ago

Some DHCP clients register wild hostnames no matter what RFC 1035 says. That causes errors as Prometheus accepts only valid UTF-8.

Fix #116

nshttpd commented 2 years ago

Thanks for the PR and fix @vojta001