Implement URL case fixing, closes #127