Martin Pool has voted tweak. Status is now: Conditionally approved Comment: + assert url.startswith(actual + '://') I think you should just make this if/raise. For details, see: http://bundlebuggy.aaronbentley.com/request/%3Cm23axhcxag.fsf%40free.fr%3E