added better URL checking
Merge branch 'dev' of github.com:iucogs/pubs into dev