daduke/Xymondash

Disable test does not work for FQDN hosts

john-d-alexander opened this issue · 1 comments

Disabling of tests with FQDN hosts generates a 400 error. This appears to be fixed by replacing the following line in xymon-disable:

allowed_chars = re.compile(r'^[a-zA-Z0-9-,[]^|'? ]+$')

with the following line from xymon-ack (this was fixed by Christian yesterday)

allowed_chars = re.compile(r'^[a-zA-Z0-9.-,[]^|'? ]+$')

fixed by 918fc85