Consider correctly absolute url with //

This commit fixes #46