Support %s variable in 'domain_filter' config option
Resolves T135
Requesting review of this commit which relates to T135.