Actually, now that I think about it, the whole exercise is not needed as URLs are not case sensitive anyway.