Bug 951390 - Options in middleware setup should not allow empty