accept only valid URLs (fixes issue #47)