Settings: add leading/trailing slash checks to settings generator