Add a stub for ID sanitiser (at the moment same as hostname)

This commit is contained in:
Bo Maryniuk 2016-11-23 19:14:17 +01:00
parent 637144c841
commit 86623f913d

View file

@ -55,5 +55,7 @@ class InputSanitizer(object):
'''
return re.sub(r'[^a-zA-Z0-9.-]', '', InputSanitizer.trim(value))
id = hostname
clean = InputSanitizer()