fixed URL sanitization
Merge branch 'testing'

This will become v0.6... it fixes URL quoting and leading http:// or https://