Tighten up URL requirements

https://karelia.fogbugz.com/f/cases/248667/