Add upper limit to the length of urls