compare_domains in lib/datapreview crashes with malformed URLs

Some URLs are so abominable that even urlparse throws an exception when it sees them. Last example (harvested):
```
http://Server=cda3; Service=sde:sqlserver:cda3; Database=NationalDatasets; User=sde; Version=sde.DEFAULT
```