redhataccess/spandx

don't crash when requests arrive at an unsupported hostname

mwcz opened this issue · 0 comments

mwcz commented

If spandx is running on localhost:8000, and a request is sent to 127.0.0.1:8000, spandx will crash. Make sure that doesn't happen.

If a request arrives on an unlisted hostname, resolve it with the default hostname and print a warning.