Fix problem with double URL redirect (http://…/http://…/)