server: add check for // urls.