Fix controller as to allow dots

Should we also add other characters like `_`, `-`, ...?